summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-01 19:59:54 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-01 19:59:54 +0000
commit84335ee93339f99a0959258e640fa57e9f0ba6ab (patch)
tree7c83dc66076dbcac80f82d9dbccab64fc801578a /sv.h
parent27aecdc667df7df9dfe00209a819ab9abfc274ea (diff)
downloadperl-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index fc67ed9aba..450670683c 100644
--- a/sv.h
+++ b/sv.h
@@ -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) \