summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-10 18:19:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-10 18:19:12 +0000
commit743e66e61aecff1c9998bd0ff719a1d679b03e9f (patch)
treee70207873d461047cae03cf85b7336f6080cc504 /gv.h
parent7e363e51b620b0068542ae9460f4c9c09bf7914e (diff)
downloadperl-743e66e61aecff1c9998bd0ff719a1d679b03e9f.tar.gz
more cleanups for change#4539
p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-id: //depot/perl@4544
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gv.h b/gv.h
index 99d534eeba..fde836dfc5 100644
--- a/gv.h
+++ b/gv.h
@@ -80,6 +80,7 @@ HV *GvHVn();
#define GVf_INTRO 0x01
#define GVf_MULTI 0x02
#define GVf_ASSUMECV 0x04
+#define GVf_IN_PAD 0x08
#define GVf_IMPORTED 0xF0
#define GVf_IMPORTED_SV 0x10
#define GVf_IMPORTED_AV 0x20
@@ -118,6 +119,10 @@ HV *GvHVn();
#define GvIMPORTED_CV_on(gv) (GvFLAGS(gv) |= GVf_IMPORTED_CV)
#define GvIMPORTED_CV_off(gv) (GvFLAGS(gv) &= ~GVf_IMPORTED_CV)
+#define GvIN_PAD(gv) (GvFLAGS(gv) & GVf_IN_PAD)
+#define GvIN_PAD_on(gv) (GvFLAGS(gv) |= GVf_IN_PAD)
+#define GvIN_PAD_off(gv) (GvFLAGS(gv) &= ~GVf_IN_PAD)
+
#define Nullgv Null(GV*)
#define DM_UID 0x003