diff options
author | Karl Williamson <khw@cpan.org> | 2020-09-05 22:04:22 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-11-21 15:03:38 -0700 |
commit | 333238a72a681884a924eb094c6f4d337b82b540 (patch) | |
tree | 6edc7583bc427b59d14f7b440eb023f5b4ed29d5 /sv.c | |
parent | aeef7bbf8bbd7ba72a854182ff2a8368344e28cb (diff) | |
download | perl-333238a72a681884a924eb094c6f4d337b82b540.tar.gz |
perlapi: Consolidate sv_vsetpvf-ish entries
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -10787,11 +10787,16 @@ Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...) /* =for apidoc sv_vsetpvf +=for apidoc_item sv_vsetpvf_mg -Works like C<sv_vcatpvf> but copies the text into the SV instead of -appending it. Does not handle 'set' magic. See C<L</sv_vsetpvf_mg>>. +These work like C<L</sv_vcatpvf>> but copy the text into the SV instead of +appending it. + +They differ only in that C<sv_vsetpvf_mg> performs 'set' magic; +C<sv_vsetpvf> skips all magic. -Usually used via its frontend C<sv_setpvf>. +They are usually used via their frontends, C<L</sv_setpvf>> and +C<L</sv_setpvf_mg>>. =cut */ @@ -10816,16 +10821,6 @@ Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...) va_end(args); } -/* -=for apidoc sv_vsetpvf_mg - -Like C<sv_vsetpvf>, but also handles 'set' magic. - -Usually used via its frontend C<sv_setpvf_mg>. - -=cut -*/ - void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args) { |