summaryrefslogtreecommitdiff
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
commit2022cdbeb21661485a427bbaeebbed752c546e72 (patch)
treeafe5291a30b6c05b93359f9a6b2505ecd7c5d014
parent9d5b0b10bbbf7cd13f982de07d648fc084da7a1d (diff)
downloadperl-2022cdbeb21661485a427bbaeebbed752c546e72.tar.gz
Document CVf_UNIQUE flag better
p4raw-id: //depot/perl@22185
-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 */