Provide a new flag for sv_usepvn_flags, SV_HAS_TRAILING_NUL, which
authorNicholas Clark <nick@ccl4.org>
Sun, 16 Apr 2006 11:35:38 +0000 (11:35 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 16 Apr 2006 11:35:38 +0000 (11:35 +0000)
commitc1c21316ed394affd6841f00fb82bc62eb5fd0a5
treee6add2e39e912a1f475f3b28e094f78bb1f0e125
parent47518d95dc53ff6c3eab1e57e355d65c518ebfa5
Provide a new flag for sv_usepvn_flags, SV_HAS_TRAILING_NUL, which
signals that the buffer passed in is already well-formed for use as
SvPVX (i.e. it is followed by a trailing NUL), and hence the realloc()
to add a NUL can be skipped.

p4raw-id: //depot/perl@27841
pp.c
sv.c
sv.h