summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-02-12 18:15:46 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2023-02-13 17:41:49 +0000
commit857b55419b96b59cb074d897ac8e6154bbe1e1d2 (patch)
tree61d4870762090a21c87eb5630e2e3608c75103a7 /proto.h
parente7faea54386fae0e542ca8bfe43a8c5444c69114 (diff)
downloadperl-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 8a5f67c6f5..46dd8305c4 100644
--- a/proto.h
+++ b/proto.h
@@ -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 \