summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/XSUB.h b/XSUB.h
index 75e65cf1db..10aed074ef 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
@@ -69,3 +73,7 @@
#else
# define XS_VERSION_BOOTCHECK
#endif
+
+#ifdef PERL_OBJECT
+#include "ObjXSub.h"
+#endif \ No newline at end of file