From: Dave Mitchell Date: Tue, 20 Jan 2004 21:01:08 +0000 (+0000) Subject: Document CVf_UNIQUE flag better X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6909cc55000f14d567d0ce4e72f02e1e4307904f;p=p5sagit%2Fp5-mst-13.2.git Document CVf_UNIQUE flag better p4raw-id: //depot/perl@22185 --- diff --git a/cv.h b/cv.h index 74e2ade..1c8b93d 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 */