summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-09-11 19:36:10 +0100
committerFlorian Ragwitz <rafl@debian.org>2010-09-28 21:35:02 +0200
commit9dcc53ea14d7a502bb5ac0877765bde14f8cc721 (patch)
treee04fbefccc4e81298835b1e4fb69e8db347ff810 /dump.c
parentdccfc75d21f1ac6a97926d5bac2e89d3cd22eafa (diff)
downloadperl-9dcc53ea14d7a502bb5ac0877765bde14f8cc721.tar.gz
systematically provide pv/pvn/pvs/sv quartets
Anywhere an API function takes a string in pvn form, ensure that there are corresponding pv, pvs, and sv APIs.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 832c60c6c2..2fca2c38ef 100644
--- a/dump.c
+++ b/dump.c
@@ -2396,6 +2396,13 @@ Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv)
}
char *
+Perl_sv_catxmlpv(pTHX_ SV *dsv, const char *pv, int utf8)
+{
+ PERL_ARGS_ASSERT_SV_CATXMLPV;
+ return sv_catxmlpvn(dsv, pv, strlen(pv), utf8);
+}
+
+char *
Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8)
{
unsigned int c;