Skip to content

Commit 08d6013

Browse files
committed
Move hv_stores() declaration from embed.fnc to hv.h
This is required for the next few commits that start automatically creating long Perl_name functions for the elements in embed.fnc that are macros and don't already have them in the source. Only macros can take a parameter that has to be a literal string, so don't fit with the next few commits. This is the only case in embed.fnc like that, so I'm deferring dealing with it for now.
1 parent 3d7c9f6 commit 08d6013

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

embed.fnc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,9 +1699,6 @@ Ampx |SV ** |hv_store_flags |NULLOK HV *hv \
16991699
|NULLOK SV *val \
17001700
|U32 hash \
17011701
|int flags
1702-
Admp |SV ** |hv_stores |NULLOK HV *hv \
1703-
|"key" \
1704-
|NULLOK SV *val
17051702
Admp |void |hv_undef |NULLOK HV *hv
17061703
Xop |void |hv_undef_flags |NULLOK HV *hv \
17071704
|U32 flags

embed.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,6 @@
22912291
# define Perl_hv_store(mTHX,a,b,c,d,e) hv_store(a,b,c,d,e)
22922292
# define Perl_hv_store_ent(mTHX,a,b,c,d) hv_store_ent(a,b,c,d)
22932293
# define Perl_hv_store_flags(mTHX,a,b,c,d,e,f) hv_store_flags(a,b,c,d,e,f)
2294-
# define Perl_hv_stores(mTHX,a,b,c) hv_stores(a,b,c)
22952294
# define Perl_hv_undef(mTHX,a) hv_undef(a)
22962295
# define Perl_ibcmp(mTHX,a,b,c) ibcmp(a,b,c)
22972296
# define Perl_ibcmp_locale(mTHX,a,b,c) ibcmp_locale(a,b,c)
@@ -2392,7 +2391,6 @@
23922391
# define Perl_hv_store hv_store
23932392
# define Perl_hv_store_ent hv_store_ent
23942393
# define Perl_hv_store_flags hv_store_flags
2395-
# define Perl_hv_stores hv_stores
23962394
# define Perl_hv_undef hv_undef
23972395
# define Perl_ibcmp ibcmp
23982396
# define Perl_ibcmp_locale ibcmp_locale

hv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ whether it is valid to call C<HvAUX()>.
584584
=for apidoc_defn Am|SV**|hv_fetchs|HV* hv|"key"|I32 lval
585585
=for apidoc_defn Am|SV *|hv_deletes|HV *hv|"key"|U32 flags
586586
=for apidoc_defn Am|void|hv_name_sets|HV *hv|"name"|U32 flags
587+
=for apidoc_defn Am|SV**|hv_stores|HV *hv|"name"|U32 flags
587588
=cut
588589
*/
589590
#define hv_fetchs(hv, key, lval) \

proto.h

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)