summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2015-12-17 15:27:46 +1100
committerTony Cook <tony@develop-help.com>2015-12-17 15:27:46 +1100
commit364bbfa41090431b5fedf27a0b86684bb09ff167 (patch)
treef2b355700a301877ffce5ac0dda982a3beb2bd2e /gv.h
parentdc9ef9989ca4dc4207da49f653e8789816f50a11 (diff)
downloadperl-364bbfa41090431b5fedf27a0b86684bb09ff167.tar.gz
document save_gp() and the GVf_INTRO flag
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gv.h b/gv.h
index a6b695ed3d..e3357bc4de 100644
--- a/gv.h
+++ b/gv.h
@@ -151,6 +151,10 @@ Return the CV from the GV.
#define GvENAME_HEK(gv) GvNAME_HEK(GvEGV(gv) ? GvEGV(gv) : gv)
#define GvESTASH(gv) GvSTASH(GvEGV(gv) ? GvEGV(gv) : gv)
+/* GVf_INTRO is one-shot flag which indicates that the next assignment
+ of a reference to the glob is to be localised; it distinguishes
+ 'local *g = $ref' from '*g = $ref'.
+*/
#define GVf_INTRO 0x01
#define GVf_MULTI 0x02
#define GVf_ASSUMECV 0x04