summaryrefslogtreecommitdiff
path: root/global.sym
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-09 21:26:40 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-09 21:26:40 +0000
commitdefc8aa74049d05457821208f696e8e011c1bb27 (patch)
treeca49feb20f6ec1dffdbc11370070a0173467afe2 /global.sym
parentf7dcaa05269253e90f307a75bffeb743b4b391f7 (diff)
downloadperl-defc8aa74049d05457821208f696e8e011c1bb27.tar.gz
savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
strlen(). Add savesvpv(sv), which gets the length from the SV, and returns a copy of its PV. p4raw-id: //depot/perl@23772
Diffstat (limited to 'global.sym')
-rw-r--r--global.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/global.sym b/global.sym
index cdd5e0530a..6c004bb18d 100644
--- a/global.sym
+++ b/global.sym
@@ -675,3 +675,4 @@ Perl_hv_clear_placeholders
Perl_hv_scalar
Perl_gv_fetchpvn_flags
Perl_gv_fetchsv
+Perl_savesvpv