X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Types.xs;h=60f499c19274d4f00531015a4518717758adc096;hb=77c47109071d7fa2e5e648684ab843487196cada;hp=0b5b3f5fd1c97f2581f7f2c775bf00d836e2b547;hpb=3a70868e5fd2c419e5c78329107019375efc5558;p=perl%2Fmodules%2FLexical-Types.git diff --git a/Types.xs b/Types.xs index 0b5b3f5..60f499c 100644 --- a/Types.xs +++ b/Types.xs @@ -23,10 +23,6 @@ # endif #endif -#ifndef Newx -# define Newx(v, n, c) New(0, v, n, c) -#endif - #ifndef HvNAME_get # define HvNAME_get(H) HvNAME(H) #endif @@ -78,7 +74,8 @@ typedef struct { OP *(*pp_padsv)(pTHX); } lt_op_info; -STATIC void lt_map_store(const OP *o, SV *orig_pkg, SV *type_pkg, SV *type_meth, OP *(*pp_padsv)(pTHX)) { +STATIC void lt_map_store(pPTABLE_ const OP *o, SV *orig_pkg, SV *type_pkg, SV *type_meth, OP *(*pp_padsv)(pTHX)) { +#define lt_map_store(O, OP, TP, TM, PP) lt_map_store(aPTABLE_ (O), (OP), (TP), (TM), (PP)) lt_op_info *oi; #ifdef USE_ITHREADS