X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=cv.h;h=825a968e42b0abcacb6c17ecf39678952e5de199;hb=612cfdf27c84f3ca36e00ec7f6925d0a5223e483;hp=8426b11c6d8eae2b9d89e75e933acf66defc3d88;hpb=fd40b97705941d5479f90aeef3b20f8407859c14;p=p5sagit%2Fp5-mst-13.2.git diff --git a/cv.h b/cv.h index 8426b11..825a968 100644 --- a/cv.h +++ b/cv.h @@ -1,6 +1,7 @@ /* cv.h * - * Copyright (c) 1991-2003, Larry Wall + * Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, + * 2000, 2001, 2002, 2003, 2004, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -74,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 */