summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-28 21:41:52 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-28 21:41:52 +0000
commit6c5e080d01cb781ede98cb40c5af749e9d939e17 (patch)
treeb319ecf27c37fc965526f0329c523cf58327c8b5 /pad.h
parent3441fb63c8a89050ee7151eb55228fe165595be1 (diff)
downloadperl-6c5e080d01cb781ede98cb40c5af749e9d939e17.tar.gz
Move PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI to pad.h, export them via
B.pm, so that B::Concise doesn't need to hard code magic numbers. p4raw-id: //depot/perl@29631
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pad.h b/pad.h
index bf91d0cc6b..44e9385494 100644
--- a/pad.h
+++ b/pad.h
@@ -89,6 +89,11 @@ typedef U64TYPE PADOFFSET;
(0 + (((XPVNV*) SvANY(sv))->xnv_u.xpad_cop_seq.xhigh))
#endif
+/* Flags set in the SvIVX field of FAKE namesvs */
+
+#define PAD_FAKELEX_ANON 1 /* the lex is declared in an ANON, or ... */
+#define PAD_FAKELEX_MULTI 2 /* the lex can be instantiated multiple times */
+
/* flags for the pad_new() function */
#define padnew_CLONE 1 /* this pad is for a cloned CV */