This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ExtUtils::ParseXS: Check that an XSUB with CODE&RETVAL has an OUTPUT
authorSteffen Mueller <smueller@cpan.org>
Thu, 11 Aug 2011 09:33:11 +0000 (11:33 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 11 Aug 2011 11:05:25 +0000 (13:05 +0200)
commit5179f97822e5dcfebaf2a3fb412a1523d4009429
tree153108f8cb1e6ffe29b7436aba0a76f6a844396c
parent115ff745268490ae5fb5ecaee00be54172e302e0
ExtUtils::ParseXS: Check that an XSUB with CODE&RETVAL has an OUTPUT

If an XS paragraph/function definition that has a CODE section using
RETVAL, then we need an OUTPUT section or else things will go sour.

This adds a check for that condition and produces a friendly error
message.

See CPAN RT #69536.
dist/ExtUtils-ParseXS/Changes
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm