From: Dave Rolsky Date: Mon, 23 Mar 2009 17:57:08 +0000 (-0500) Subject: XSPROTO backcompat for 5.8.x X-Git-Tag: 0.78_02~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c97ec1de15a5a2d29be5508b01d16332cbd2c2f5;p=gitmo%2FClass-MOP.git XSPROTO backcompat for 5.8.x --- diff --git a/mop.h b/mop.h index 7566652..288c8ad 100644 --- a/mop.h +++ b/mop.h @@ -12,6 +12,10 @@ #define MOP_CALL_BOOT(name) mop_call_xs(aTHX_ name, cv, mark); +#ifndef XSPROTO +#define XSPROTO(name) XS(name) +#endif + void mop_call_xs (pTHX_ XSPROTO(subaddr), CV *cv, SV **mark); typedef enum {