diff options
author | David Mitchell <davem@iabyn.com> | 2016-11-24 09:40:44 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-11-24 13:42:22 +0000 |
commit | e03e82a04dda6a44b815f3367c69afb0e953dc91 (patch) | |
tree | 0af20bb6d6d86cda9bedc1c62ebcacde194e382a /embed.fnc | |
parent | d24e3eb1402c1294265f99342e2ec0ecfd0f5d34 (diff) | |
download | perl-e03e82a04dda6a44b815f3367c69afb0e953dc91.tar.gz |
add sv_set_undef() API function
This function is equivalent to sv_setsv(sv, &PL_sv_undef), but more
efficient.
Also change the obvious places in the core to use the new idiom.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2709,6 +2709,7 @@ sRM |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \ AiMn |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest #endif +Apd |void |sv_set_undef |NN SV *sv Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \ |const I32 flags |