summaryrefslogtreecommitdiff
path: root/mathoms.c
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 /mathoms.c
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 'mathoms.c')
-rw-r--r--mathoms.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index e0cefb0049..082a2ffc7f 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1461,6 +1461,14 @@ Perl_newHV(pTHX)
return hv;
}
+void
+Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len,
+ const char *const little, const STRLEN littlelen)
+{
+ PERL_ARGS_ASSERT_SV_INSERT;
+ sv_insert_flags(bigstr, offset, len, little, littlelen, SV_GMAGIC);
+}
+
#endif /* NO_MATHOMS */
/*