File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14970,6 +14970,20 @@ S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
14970
14970
return dsv;
14971
14971
}
14972
14972
14973
+ /*
14974
+ =for apidoc sv_dup
14975
+ =for apidoc_item sv_dup_inc
14976
+
14977
+ In spite of their generic names, these are very specialized functions mainly
14978
+ for use when cloning an interpreter instance.
14979
+
14980
+ They duplicate an SV of any type (not just a plain SV, but including AV, HV
14981
+ I<etc>.), returning a pointer to the cloned object. The difference is that the
14982
+ new SV under C<sv_dup> has a reference count of 0, but 1 under C<sv_dup_inc>.
14983
+
14984
+ =cut
14985
+ */
14986
+
14973
14987
SV *
14974
14988
Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
14975
14989
{
You can’t perform that action at this time.
0 commit comments