summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-12-20 09:43:06 -0700
committerKarl Williamson <khw@cpan.org>2020-12-20 09:45:16 -0700
commit1e9f4e257f487950331eba0803d5efcd1c386713 (patch)
treeafa9d92cd20f0b855f7431f05cbad575ffe14255 /sv.c
parent6c041ec2c6e3f68af32f1ca92db0633ec2bcfd75 (diff)
downloadperl-1e9f4e257f487950331eba0803d5efcd1c386713.tar.gz
perlapi: Document newSVsv_flags
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index dc73edabfa..682656f630 100644
--- a/sv.c
+++ b/sv.c
@@ -9742,12 +9742,14 @@ Perl_newRV(pTHX_ SV *const sv)
/*
=for apidoc newSVsv
=for apidoc_item newSVsv_nomg
+=for apidoc_item newSVsv_flags
-These create a new SV which is an exact duplicate of the original SV.
-(Uses C<sv_setsv>.)
+These create a new SV which is an exact duplicate of the original SV
+(using C<sv_setsv>.)
They differ only in that C<newSVsv> performs 'get' magic; C<newSVsv_nomg> skips
-any magic.
+any magic; and C<newSVsv_flags> allows you to explicitly set a C<flags>
+parameter.
=cut
*/