summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-01-20 21:01:08 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-01-20 21:01:08 +0000
commit6909cc55000f14d567d0ce4e72f02e1e4307904f (patch)
treeafe5291a30b6c05b93359f9a6b2505ecd7c5d014 /cv.h
parent9aedf6d8e83e13ae89ffc7703fb74a4ce8e37fc1 (diff)
downloadperl-6909cc55000f14d567d0ce4e72f02e1e4307904f.tar.gz
Document CVf_UNIQUE flag better
p4raw-id: //depot/perl@22185
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index 74e2adec8d..1c8b93d943 100644
--- a/cv.h
+++ b/cv.h
@@ -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 */