diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-12-28 21:41:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-12-28 21:41:52 +0000 |
commit | 6c5e080d01cb781ede98cb40c5af749e9d939e17 (patch) | |
tree | b319ecf27c37fc965526f0329c523cf58327c8b5 /pad.h | |
parent | 3441fb63c8a89050ee7151eb55228fe165595be1 (diff) | |
download | perl-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |