This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge branch 'smueller/eu_typemap' into blead
authorSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 20:02:24 +0000 (22:02 +0200)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 20:02:26 +0000 (22:02 +0200)
commitbb17296d8de7c33dc13da5d17077dd5140a794b1
tree97c258357dd2052c3c6f2aff9bde09339cb42130
parent17616481cf4701b926ec5adcc5914f839cfa0c2e
parent96893281c6f796153cd1c238c56581fa7c8c802a
Merge branch 'smueller/eu_typemap' into blead

Much of ExtUtils::ParseXS was rewritten and cleaned up.
It has been made somewhat more extensible and now finally
uses strictures.

The logic for parsing, merging, and dumping XS typemaps was extracted
from ExtUtils::ParseXS into a module of its own, ExtUtils::Typemaps.
ExtUtils::Typemaps offers an interface to typemap handling outside of
the scope of the XS compiler itself.

As a first use case of the improved API an extensibility, typemaps can now
be included inline into XS code with a HEREDOC-like syntax:

  TYPEMAP: <<END_TYPEMAP
  MyType    T_IV
  END_TYPEMAP
MANIFEST