API to explicitly select to export XSUB symbols or not
authorSteffen Mueller <smueller@cpan.org>
Thu, 11 Aug 2011 11:21:05 +0000 (13:21 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 11 Aug 2011 11:21:05 +0000 (13:21 +0200)
commite64345f82d66a32f6da47acf482e7e6c9282b433
tree45b83f2edfaedc9a1ee543327344546d4f23a2ee
parent5179f97822e5dcfebaf2a3fb412a1523d4009429
API to explicitly select to export XSUB symbols or not

This adds a few additional macros to XSUB.h:
XS_INTERNAL and XS_EXTERNAL are versions of the XS macro
that explicitly use internal (static) linking or not.
XSPROTO_INTERNAL and XSPROTO_EXTERNAL are the obvious equivalents
for XSPROTO (which is apparently not public yet we support its
use in SWIG...).

The XS and XSPROTO macros themselves are not defined to not
use STATIC, but this may (should?) be changed in the future.
XSUB.h