This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add sv_set_undef() API function
authorDavid Mitchell <davem@iabyn.com>
Thu, 24 Nov 2016 09:40:44 +0000 (09:40 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 24 Nov 2016 13:42:22 +0000 (13:42 +0000)
commite03e82a04dda6a44b815f3367c69afb0e953dc91
tree0af20bb6d6d86cda9bedc1c62ebcacde194e382a
parentd24e3eb1402c1294265f99342e2ec0ecfd0f5d34
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.
embed.fnc
embed.h
mg.c
pod/perldelta.pod
pp.c
pp_hot.c
proto.h
regcomp.c
sv.c
t/perf/benchmarks
util.c