diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-10 16:26:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-10 16:26:43 +0000 |
commit | 5902b6a9a2a1e49c54aefa132afca1e54238aa2b (patch) | |
tree | abb6a9001566ba72f7ef97e4528d6b5df9c3913e /sv.h | |
parent | 729c079f503f2192381f3dac342bae6ced6ca379 (diff) | |
download | perl-5902b6a9a2a1e49c54aefa132afca1e54238aa2b.tar.gz |
Add SvGROW_mutable
p4raw-id: //depot/perl@24796
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1525,6 +1525,8 @@ Returns a pointer to the character buffer. #define isGV(sv) (SvTYPE(sv) == SVt_PVGV) #define SvGROW(sv,len) (SvLEN(sv) < (len) ? sv_grow(sv,len) : SvPVX(sv)) +#define SvGROW_mutable(sv,len) \ + (SvLEN(sv) < (len) ? sv_grow(sv,len) : SvPVX_mutable(sv)) #define Sv_Grow sv_grow #define CLONEf_COPY_STACKS 1 |