SvPV_renew also calls SvLEN_set
authorNicholas Clark <nick@ccl4.org>
Mon, 18 Apr 2005 21:58:22 +0000 (21:58 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 18 Apr 2005 21:58:22 +0000 (21:58 +0000)
commit1da4ca5ff65374ad6965719e5eb33e3027a745a7
tree378c39cf08d231c303fffa124644ea3300e1f46a
parentb7e9a5c2d751f7ed3b8a703e57ac933ded5b16ce
SvPV_renew also calls SvLEN_set
Add SvPV_shrink_to_cur(sv) to call SvPV_renew with SvCUR(sv)+1.
For Ponie this can be a single call into the PMC

p4raw-id: //depot/perl@24245
pp_hot.c
pp_sys.c
sv.h
toke.c