summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/APItest.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/XS-APItest/APItest.xs')
-rw-r--r--ext/XS-APItest/APItest.xs13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs
index 4b3d470328..332292292c 100644
--- a/ext/XS-APItest/APItest.xs
+++ b/ext/XS-APItest/APItest.xs
@@ -605,6 +605,8 @@ static int my_keyword_plugin(pTHX_
}
}
+XS(XS_XS__APItest__XSUB_XS_VERSION_undef);
+
#include "const-c.inc"
MODULE = XS::APItest PACKAGE = XS::APItest
@@ -613,6 +615,17 @@ INCLUDE: const-xs.inc
INCLUDE: numeric.xs
+MODULE = XS::APItest PACKAGE = XS::APItest::XSUB
+
+BOOT:
+ newXS("XS::APItest::XSUB::XS_VERSION_undef", XS_XS__APItest__XSUB_XS_VERSION_undef, __FILE__);
+
+void
+XS_VERSION_defined(...)
+ PPCODE:
+ XS_VERSION_BOOTCHECK;
+ XSRETURN_EMPTY;
+
MODULE = XS::APItest:Hash PACKAGE = XS::APItest::Hash
void