diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-04-01 19:59:54 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-04-01 19:59:54 +0000 |
commit | 84335ee93339f99a0959258e640fa57e9f0ba6ab (patch) | |
tree | 7c83dc66076dbcac80f82d9dbccab64fc801578a /sv.h | |
parent | 27aecdc667df7df9dfe00209a819ab9abfc274ea (diff) | |
download | perl-84335ee93339f99a0959258e640fa57e9f0ba6ab.tar.gz |
Define sv_insert() as a wrapper to sv_insert_flags(), and move
Perl_sv_insert() to mathoms.c
p4raw-id: //depot/perl@33627
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1778,6 +1778,9 @@ mg.c:1024: warning: left-hand operand of comma expression has no effect #define sv_utf8_upgrade(sv) sv_utf8_upgrade_flags(sv, SV_GMAGIC) #define sv_2iv(sv) sv_2iv_flags(sv, SV_GMAGIC) #define sv_2uv(sv) sv_2uv_flags(sv, SV_GMAGIC) +#define sv_insert(bigstr, offset, len, little, littlelen) \ + Perl_sv_insert_flags(aTHX_ (bigstr),(offset), (len), (little), \ + (littlelen), SV_GMAGIC) /* Should be named SvCatPVN_utf8_upgrade? */ #define sv_catpvn_utf8_upgrade(dsv, sstr, slen, nsv) \ |