This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify generated XS code by emitting a compatibility version of dVAR.
authorNicholas Clark <nick@ccl4.org>
Sat, 10 Sep 2011 11:11:21 +0000 (13:11 +0200)
committerNicholas Clark <nick@ccl4.org>
Sun, 11 Sep 2011 15:14:15 +0000 (17:14 +0200)
commit98e6112272363eb60a3ddeee13b03381e5729032
tree52d4e9db70ecb26bfdaa76596fa7488bbf38001f
parent3324ed9f6472f4fa8368f84762b440be0b7392b0
Simplify generated XS code by emitting a compatibility version of dVAR.

If ExtUtils::ParseXS emits conditional C pre-processor code once per XS file
to provide a default for dVAR, then it doesn't need to emit 4 lines per
function to cater for dVAR not being present.
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
pod/perldelta.pod