diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-01-20 21:01:08 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-01-20 21:01:08 +0000 |
commit | 6909cc55000f14d567d0ce4e72f02e1e4307904f (patch) | |
tree | afe5291a30b6c05b93359f9a6b2505ecd7c5d014 /cv.h | |
parent | 9aedf6d8e83e13ae89ffc7703fb74a4ce8e37fc1 (diff) | |
download | perl-6909cc55000f14d567d0ce4e72f02e1e4307904f.tar.gz |
Document CVf_UNIQUE flag better
p4raw-id: //depot/perl@22185
Diffstat (limited to 'cv.h')
-rw-r--r-- | cv.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -75,7 +75,10 @@ Returns the stash of the CV. #define CVf_CLONED 0x0002 /* a clone of one of those */ #define CVf_ANON 0x0004 /* CvGV() can't be trusted */ #define CVf_OLDSTYLE 0x0008 -#define CVf_UNIQUE 0x0010 /* can't be cloned */ +#define CVf_UNIQUE 0x0010 /* sub is only called once (eg PL_main_cv, + * require, eval). Not to be confused + * with the GVf_UNIQUE flag associated + * with the :unique attribute */ #define CVf_NODEBUG 0x0020 /* no DB::sub indirection for this CV (esp. useful for special XSUBs) */ #define CVf_METHOD 0x0040 /* CV is explicitly marked as a method */ |