diff options
author | Zefram <zefram@fysh.org> | 2010-09-11 19:36:10 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-09-28 21:35:02 +0200 |
commit | 9dcc53ea14d7a502bb5ac0877765bde14f8cc721 (patch) | |
tree | e04fbefccc4e81298835b1e4fb69e8db347ff810 /dump.c | |
parent | dccfc75d21f1ac6a97926d5bac2e89d3cd22eafa (diff) | |
download | perl-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.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |