X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=op.h;h=2bfdced2738eded75c6d5e21538a70092bf35aff;hb=eef6c14771391102802b6df83d2d0607b74c51e3;hp=fcb24a5f4124a41445cee95560f1b162820718b6;hpb=96e176bf068724d05d4927c116d41d2f78a2560d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/op.h b/op.h index fcb24a5..2bfdced 100644 --- a/op.h +++ b/op.h @@ -23,7 +23,13 @@ * which may or may not check number of children). */ -typedef UV PADOFFSET; +#if PTRSIZE == 4 +typedef U32TYPE PADOFFSET; +#else +# if PTRSIZE == 8 +typedef U64TYPE PADOFFSET; +# endif +#endif #define NOT_IN_PAD ((PADOFFSET) -1) #ifdef DEBUGGING_OPS @@ -53,6 +59,8 @@ typedef UV PADOFFSET; dfl) /* +=head1 "Gimme" Values + =for apidoc Amn|U32|GIMME_V The XSUB-writer's equivalent to Perl's C. Returns C, C or C for void, scalar or list context, @@ -147,6 +155,7 @@ Deprecated. Use C instead. /* OP_ENTERSUB only */ #define OPpENTERSUB_DB 16 /* Debug subroutine. */ #define OPpENTERSUB_HASTARG 32 /* Called from OP tree. */ +#define OPpENTERSUB_NOMOD 64 /* Immune to mod() for :attrlist. */ /* OP_RV2CV only */ #define OPpENTERSUB_AMPER 8 /* Used & form to call. */ #define OPpENTERSUB_NOPAREN 128 /* bare sub call (without parens) */