This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use static inline functions for SvREFCNT_inc
authorFather Chrysostomos <sprout@cpan.org>
Sat, 18 Aug 2012 19:34:33 +0000 (12:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 21 Aug 2012 23:38:35 +0000 (16:38 -0700)
commit27669aa412f62d9967b069ba672cd20239c354c1
tree237c8ecdec51bac13edf069951da5a2afcbfdfc1
parent25468daabce05c6c76ace4055995f92d166fc9ff
Use static inline functions for SvREFCNT_inc

This avoids the need to repeat the macros in GCC and non-GCC versions.
For non-GCC compilers capable of inlining, this should speed things up
slightly, too, as PL_Sv is no longer needed.
inline.h
sv.h