This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
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)
... 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).


No differences found