summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/XSUB.h b/XSUB.h
index 6f9151be18..f9c0503a39 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -1,7 +1,11 @@
#define ST(off) stack_base[ax + (off)]
#ifdef CAN_PROTOTYPE
+#ifdef PERL_OBJECT
+#define XS(name) void name(CPerlObj* pPerl, CV* cv)
+#else
#define XS(name) void name(CV* cv)
+#endif
#else
#define XS(name) void name(cv) CV* cv;
#endif
@@ -63,3 +67,12 @@
#else
# define XS_VERSION_BOOTCHECK
#endif
+
+#ifdef PERL_OBJECT
+#include "ObjXSub.h"
+#ifndef NO_XSLOCKS
+#ifdef WIN32
+#include "XSLock.h"
+#endif /* WIN32 */
+#endif /* NO_XSLOCKS */
+#endif /* PERL_OBJECT */