This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Support for embedded typemaps in XS
authorSteffen Mueller <smueller@cpan.org>
Sat, 16 Apr 2011 13:39:18 +0000 (15:39 +0200)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 18:54:50 +0000 (20:54 +0200)
commit16c87200414bef0a11c26022e1e4bc345bba7501
treed2652a22fc8be061601706929fc3346a84d73b25
parent147664cedc925c4096ea2de971418e7ce6374bd0
Support for embedded typemaps in XS

This implements embedded typemap documents with a heredoc-like
syntax. In your XS, use a block like the following:

TYPEMAP: <<END
Foo* T_SOMETHING

INPUT
T_SOMETHING
code
END
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
dist/ExtUtils-ParseXS/t/002-more.t
dist/ExtUtils-ParseXS/t/XSMore.xs