summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
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 3e81cba2c8..c713f4e178 100644
--- a/gv.h
+++ b/gv.h
@@ -63,6 +63,7 @@ HV *GvHVn();
#define GvCV(gv) (GvGP(gv)->gp_cv)
#define GvCVGEN(gv) (GvGP(gv)->gp_cvgen)
+#define GvCVu(gv) (GvGP(gv)->gp_cvgen ? Nullcv : GvGP(gv)->gp_cv)
#define GvLASTEXPR(gv) (GvGP(gv)->gp_lastexpr)