ExtUtils::ParseXS: Allow users to enforce linkage of XSUBs
authorSteffen Mueller <smueller@cpan.org>
Sun, 4 Sep 2011 16:55:06 +0000 (18:55 +0200)
committerSteffen Mueller <smueller@cpan.org>
Sun, 4 Sep 2011 16:55:06 +0000 (18:55 +0200)
commitca0e6506c663785374bf53fcafa07e5029c4a222
tree9f9bc3bc8db0f380ac8ae1a5c7073a471a710440
parent40c2103f9e420138a6aafe8d67a3f96ec99ef46d
ExtUtils::ParseXS: Allow users to enforce linkage of XSUBs

... using defines.
For easy backwards-compatibility of XS modules, we allow XS authors
to use
  #define PERL_EUPXS_ALWAYS_EXPORT
or
  #define PERL_EUPXS_NEVER_EXPORT
to choose one or the other behaviour. Since "always export" has been
the default behaviour of ExtUtils::ParseXS for virtually ever, defining
PERL_EUPXS_ALWAYS_EXPORT means that you get that behaviour in a very
backwards compatible way (barring a few broken EU::PXS releases).
dist/ExtUtils-ParseXS/Changes
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