Skip to content

Commit cfefbcf

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 0497c63 commit cfefbcf

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
@@ -1697,9 +1697,6 @@ Ampx |SV ** |hv_store_flags |NULLOK HV *hv \
16971697
|NULLOK SV *val \
16981698
|U32 hash \
16991699
|int flags
1700-
Admp |SV ** |hv_stores |NULLOK HV *hv \
1701-
|"key" \
1702-
|NULLOK SV *val
17031700
Admp |void |hv_undef |NULLOK HV *hv
17041701
Xop |void |hv_undef_flags |NULLOK HV *hv \
17051702
|U32 flags

embed.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,7 +2294,6 @@
22942294
# define Perl_hv_store(mTHX,a,b,c,d,e) hv_store(a,b,c,d,e)
22952295
# define Perl_hv_store_ent(mTHX,a,b,c,d) hv_store_ent(a,b,c,d)
22962296
# define Perl_hv_store_flags(mTHX,a,b,c,d,e,f) hv_store_flags(a,b,c,d,e,f)
2297-
# define Perl_hv_stores(mTHX,a,b,c) hv_stores(a,b,c)
22982297
# define Perl_hv_undef(mTHX,a) hv_undef(a)
22992298
# define Perl_ibcmp(mTHX,a,b,c) ibcmp(a,b,c)
23002299
# define Perl_ibcmp_locale(mTHX,a,b,c) ibcmp_locale(a,b,c)
@@ -2395,7 +2394,6 @@
23952394
# define Perl_hv_store hv_store
23962395
# define Perl_hv_store_ent hv_store_ent
23972396
# define Perl_hv_store_flags hv_store_flags
2398-
# define Perl_hv_stores hv_stores
23992397
# define Perl_hv_undef hv_undef
24002398
# define Perl_ibcmp ibcmp
24012399
# 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)