This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #117793] remove dangerous functions and improve SvREFCNT()
authorTony Cook <tony@develop-help.com>
Fri, 9 Aug 2013 01:41:26 +0000 (11:41 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 9 Aug 2013 02:03:37 +0000 (12:03 +1000)
commitda1929e7566d4399b20541f8609bd48b40663034
treeee6794a41dde5970707fcea4cfb07fb0250cd7b6
parent8723f121d9e1f05b402265f74371a64894cc2105
[perl #117793] remove dangerous functions and improve SvREFCNT()

This allows Devel::Peek::SvREFCNT() to work on any variable, not just
scalars, but has a chance of breaking backward compatibility.

Also changes the type of SvREFCNT() to U32 to match the type returned by
the underlying macro
ext/Devel-Peek/Peek.pm
ext/Devel-Peek/Peek.xs
ext/Devel-Peek/t/Peek.t