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 /sv.h | |
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 'sv.h')
-rw-r--r-- | sv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1517,6 +1517,9 @@ scalar. =for apidoc Am|void|sv_catpvn_nomg|SV* sv|const char* ptr|STRLEN len Like C<sv_catpvn> but doesn't process magic. +=for apidoc Am|void|sv_catpv_nomg|SV* sv|const char* ptr +Like C<sv_catpv> but doesn't process magic. + =for apidoc Am|void|sv_setsv_nomg|SV* dsv|SV* ssv Like C<sv_setsv> but doesn't process magic. @@ -1817,6 +1820,7 @@ mg.c:1024: warning: left-hand operand of comma expression has no effect #define sv_utf8_upgrade_flags(sv, flags) sv_utf8_upgrade_flags_grow(sv, flags, 0) #define sv_utf8_upgrade_nomg(sv) sv_utf8_upgrade_flags(sv, 0) #define sv_catpvn_nomg(dsv, sstr, slen) sv_catpvn_flags(dsv, sstr, slen, 0) +#define sv_catpv_nomg(dsv, sstr) sv_catpv_flags(dsv, sstr, 0) #define sv_setsv(dsv, ssv) \ sv_setsv_flags(dsv, ssv, SV_GMAGIC|SV_DO_COW_SVSETSV) #define sv_setsv_nomg(dsv, ssv) sv_setsv_flags(dsv, ssv, SV_DO_COW_SVSETSV) |