diff options
author | Steffen Mueller <smueller@cpan.org> | 2011-08-12 17:27:00 +0200 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2011-08-21 13:30:55 +0200 |
commit | 9777c6aa10762bfbe202fdbe681f1ad029a574fc (patch) | |
tree | 80f7ed9adc071961e40ff78a84e8d6d658aa31ef | |
parent | 948e99879727929261de0321a4c8837f72873922 (diff) | |
download | perl-9777c6aa10762bfbe202fdbe681f1ad029a574fc.tar.gz |
Exlicitly enable exporting of some XSUB symbols
These are used in other compilation units. The declarations there
use the XS_EXTERNAL macro to indicate an non-static XSUB that is
taken from another object file.
-rw-r--r-- | ext/XS-APItest/APItest.pm | 2 | ||||
-rw-r--r-- | ext/XS-APItest/APItest.xs | 6 | ||||
-rw-r--r-- | ext/XS-APItest/XSUB-redefined-macros.xs | 2 | ||||
-rw-r--r-- | ext/XS-APItest/XSUB-undef-XS_VERSION.xs | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/ext/XS-APItest/APItest.pm b/ext/XS-APItest/APItest.pm index c0326b3920..5da52c2e97 100644 --- a/ext/XS-APItest/APItest.pm +++ b/ext/XS-APItest/APItest.pm @@ -50,7 +50,7 @@ sub import { } } -our $VERSION = '0.30'; +our $VERSION = '0.31'; use vars '$WARNINGS_ON_BOOTSTRAP'; use vars map "\$${_}_called_PP", qw(BEGIN UNITCHECK CHECK INIT END); diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index beb7e2c764..9b0d53a8b0 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -1064,9 +1064,9 @@ filter_call(pTHX_ int idx, SV *buf_sv, int maxlen) } -XS(XS_XS__APItest__XSUB_XS_VERSION_undef); -XS(XS_XS__APItest__XSUB_XS_VERSION_empty); -XS(XS_XS__APItest__XSUB_XS_APIVERSION_invalid); +XS_EXTERNAL(XS_XS__APItest__XSUB_XS_VERSION_undef); +XS_EXTERNAL(XS_XS__APItest__XSUB_XS_VERSION_empty); +XS_EXTERNAL(XS_XS__APItest__XSUB_XS_APIVERSION_invalid); #include "const-c.inc" diff --git a/ext/XS-APItest/XSUB-redefined-macros.xs b/ext/XS-APItest/XSUB-redefined-macros.xs index 05cfb41978..275f380d94 100644 --- a/ext/XS-APItest/XSUB-redefined-macros.xs +++ b/ext/XS-APItest/XSUB-redefined-macros.xs @@ -14,6 +14,8 @@ MODULE = XS::APItest::XSUB1 PACKAGE = XS::APItest::XSUB PROTOTYPES: DISABLE +EXPORT_XSUB_SYMBOLS: ENABLE + void XS_VERSION_empty(...) PPCODE: diff --git a/ext/XS-APItest/XSUB-undef-XS_VERSION.xs b/ext/XS-APItest/XSUB-undef-XS_VERSION.xs index 9fdf4d4436..0b5a58e119 100644 --- a/ext/XS-APItest/XSUB-undef-XS_VERSION.xs +++ b/ext/XS-APItest/XSUB-undef-XS_VERSION.xs @@ -11,6 +11,8 @@ MODULE = XS::APItest::XSUB PACKAGE = XS::APItest::XSUB PROTOTYPES: DISABLE +EXPORT_XSUB_SYMBOLS: ENABLE + void XS_VERSION_undef(...) PPCODE: |