summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-17 23:21:11 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-17 23:39:31 -0700
commita5bc03e938fb0f782e7f4172892f0134c42d0330 (patch)
tree4a4a57c9f883eaf95df1ab62fe7981ac93825bac /gv.h
parent9429039d0141bfd63792bb18dbe602674f9afa8e (diff)
downloadperl-a5bc03e938fb0f782e7f4172892f0134c42d0330.tar.gz
Remove GVf_IN_PAD
Nothing on CPAN uses it, but some CPAN modules use the associ- ated macros.
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gv.h b/gv.h
index 6e3295c87f..ff24d919ac 100644
--- a/gv.h
+++ b/gv.h
@@ -156,7 +156,7 @@ Return the CV from the GV.
#define GVf_INTRO 0x01
#define GVf_MULTI 0x02
#define GVf_ASSUMECV 0x04
-#define GVf_IN_PAD 0x08
+/* UNUSED 0x08 */
#define GVf_IMPORTED 0xF0
#define GVf_IMPORTED_SV 0x10
#define GVf_IMPORTED_AV 0x20
@@ -195,11 +195,10 @@ Return the CV from the GV.
#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)
-
#ifndef PERL_CORE
+# define GvIN_PAD(gv) 0
+# define GvIN_PAD_on(gv) NOOP
+# define GvIN_PAD_off(gv) NOOP
# define Nullgv Null(GV*)
#endif