This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
New XS keyword: EXPORT_XSUB_SYMBOLS
authorSteffen Mueller <smueller@cpan.org>
Fri, 12 Aug 2011 15:13:03 +0000 (17:13 +0200)
committerSteffen Mueller <smueller@cpan.org>
Sun, 21 Aug 2011 11:30:55 +0000 (13:30 +0200)
commit948e99879727929261de0321a4c8837f72873922
treebb75a2ccf47192ca27c95b89122bb39adb0d5a07
parentea5703f415b018a4574fdbed54af0a53bd0e6095
New XS keyword: EXPORT_XSUB_SYMBOLS

This can be used to enable/disable the exporting of XSUB symbols.
Technically and at least as far as the documentation change is
concerned, this change goes together with the upcoming change
to XSUB.h to make not exporting the XSUB symbols the default.
It's harmless if a bit useless without that.

In the original plan for making XSUBs "static", there wouldn't have
been a public and easy way to make XSUBs exported from XS code
without resorting to manually redefining macros. But since even in
just the core set of modules, simple things break, I think it's best
to expose this bit of choice.
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
dist/ExtUtils-ParseXS/lib/perlxs.pod