summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-09-05 22:12:01 -0600
committerKarl Williamson <khw@cpan.org>2020-11-21 11:44:18 -0700
commit00956e4f376436dadce7af99e5c69b8d56cd797f (patch)
treec18df9990be2473da34625ca63a17651fd7b502d /sv.c
parentba9cc8c250ad015c64982ad289b0d2b8a2d3d288 (diff)
downloadperl-00956e4f376436dadce7af99e5c69b8d56cd797f.tar.gz
perlapi: Consolidate sv_vcatpvf-ish entries
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/sv.c b/sv.c
index 8bfea3791e..fc1c2d6040 100644
--- a/sv.c
+++ b/sv.c
@@ -10919,12 +10919,18 @@ Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
/*
=for apidoc sv_vcatpvf
+=for apidoc_item sv_vcatpvf_mg
-Processes its arguments like C<sv_vcatpvfn> called with a non-null C-style
-variable argument list, and appends the formatted output
-to an SV. Does not handle 'set' magic. See C<L</sv_vcatpvf_mg>>.
+These process their arguments like C<sv_vcatpvfn> called with a non-null
+C-style variable argument list, and append the formatted output to C<sv>.
-Usually used via their frontends C<L</sv_catpvf>> and C<L</sv_catpvf_mg>>.
+They differ only in that C<sv_vcatpvf_mg> performs 'set' magic;
+C<sv_vcatpvf> skips 'set' magic.
+
+Both perform 'get' magic.
+
+They are usually accessed via their frontends C<L<sv_catpvf>> and
+C<L</sv_catpvf_mg>>.
=cut
*/
@@ -10950,16 +10956,6 @@ Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
va_end(args);
}
-/*
-=for apidoc sv_vcatpvf_mg
-
-Like C<sv_vcatpvf>, but also handles 'set' magic.
-
-Usually used via its frontend C<sv_catpvf_mg>.
-
-=cut
-*/
-
void
Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
{