diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-23 23:45:39 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-23 23:45:39 +0000 |
commit | 00b1698f76403476df2006ff536ab00ffc650220 (patch) | |
tree | ae5dbe027577f9396c0b682aa9327b1c244f49fc /pad.h | |
parent | 120ff8e9dfa335c7980849dcb6aebd32733af305 (diff) | |
download | perl-00b1698f76403476df2006ff536ab00ffc650220.tar.gz |
Replace direct flags tests & manipulations for SVpad_TYPED and
SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract
away the flags bits acutally used to store this information.
p4raw-id: //depot/perl@27294
Diffstat (limited to 'pad.h')
-rw-r--r-- | pad.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -219,6 +219,7 @@ ling pad (lvalue) to C<gen>. Note that C<SvCUR_set> is hijacked for this purpos */ #define PAD_COMPNAME_FLAGS(po) SvFLAGS(*av_fetch(PL_comppad_name, (po), FALSE)) +#define PAD_COMPNAME_FLAGS_isOUR(po) (PAD_COMPNAME_FLAGS(po) & SVpad_OUR) #define PAD_COMPNAME_PV(po) SvPV_nolen(*av_fetch(PL_comppad_name, (po), FALSE)) #define PAD_COMPNAME_TYPE(po) pad_compname_type(po) |