summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-19 23:04:04 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-25 09:42:18 -0700
commite664e0a4d2b36e9c34f1d617414f811f59792c9b (patch)
treed0cf3516ea5009248447dd1a259dedb25a0756b4 /op.h
parent6f7909da0803ea57fc3ae261b2432fb52ee9309c (diff)
downloadperl-e664e0a4d2b36e9c34f1d617414f811f59792c9b.tar.gz
Add private coreargs flags for vivifying GVs
Diffstat (limited to 'op.h')
-rw-r--r--op.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/op.h b/op.h
index e0fdc81778..6dcbbf0434 100644
--- a/op.h
+++ b/op.h
@@ -297,6 +297,11 @@ Deprecated. Use C<GIMME_V> instead.
/* Private for OP_CALLER and OP_WANTARRAY */
#define OPpOFFBYONE 128 /* Treat caller(1) as caller(2) */
+/* Private for OP_COREARGS */
+/* These must not conflict with OPpDONT_INIT_GV. See pp.c:S_rv2gv. */
+#define OPpCOREARGS_DEREF1 1 /* Arg 1 is a handle constructor */
+#define OPpCOREARGS_DEREF2 2 /* Arg 2 is a handle constructor */
+
struct op {
BASEOP
};