diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2023-02-12 18:15:46 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2023-02-13 17:41:49 +0000 |
commit | 857b55419b96b59cb074d897ac8e6154bbe1e1d2 (patch) | |
tree | 61d4870762090a21c87eb5630e2e3608c75103a7 /proto.h | |
parent | e7faea54386fae0e542ca8bfe43a8c5444c69114 (diff) | |
download | perl-857b55419b96b59cb074d897ac8e6154bbe1e1d2.tar.gz |
Refactor out the part of sv_dup that clones the HvAUX structure into its own helper function
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9195,6 +9195,11 @@ S_sv_dup_common(pTHX_ const SV * const ssv, CLONE_PARAMS * const param) # define PERL_ARGS_ASSERT_SV_DUP_COMMON \ assert(ssv); assert(param) +STATIC void +S_sv_dup_hvaux(pTHX_ const SV * const ssv, SV *dsv, CLONE_PARAMS * const param); +# define PERL_ARGS_ASSERT_SV_DUP_HVAUX \ + assert(ssv); assert(dsv); assert(param) + STATIC SV ** S_sv_dup_inc_multiple(pTHX_ SV * const *source, SV **dest, SSize_t items, CLONE_PARAMS * const param); # define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \ |