summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-06-18 07:41:19 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-06-18 07:41:19 +0000
commit1090b3e7928c8381aa26808d3dc44b7f83ecc9f4 (patch)
tree0395fcbd3bac4ed8c5f028d4e9caf61600c9ac4e /gv.h
parentdc437b5767e75ec9db9c2a0bb7ea934b28a3fe8a (diff)
downloadperl-1090b3e7928c8381aa26808d3dc44b7f83ecc9f4.tar.gz
Add cast for GV type
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gv.h b/gv.h
index b823fa5947..3e81cba2c8 100644
--- a/gv.h
+++ b/gv.h
@@ -42,6 +42,7 @@ struct gp {
#define GvFORM(gv) (GvGP(gv)->gp_form)
#define GvAV(gv) (GvGP(gv)->gp_av)
+#define GvREFCNT_inc(gv) ((GV*)SvREFCNT_inc(gv))
#ifdef MICROPORT /* Microport 2.4 hack */
AV *GvAVn();