summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-11 13:37:15 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-15 06:19:33 -0700
commitaa38f4b16ec84f790a5473b0ff1ffe264bd93f5a (patch)
tree908a4edf0b3034823c6932207d8f5728cc0c5b60 /mg.h
parentf3fb6cf3d92d50cd60f36e1c193c0f3d45bcfd75 (diff)
downloadperl-aa38f4b16ec84f790a5473b0ff1ffe264bd93f5a.tar.gz
Add cv_set_call_checker_flags
This is like cv_set_call_checker, except that it allows the caller to decide whether the call checker needs a GV. Currently the GV flag is recorded, but ck_subr does not do anything with it yet.
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mg.h b/mg.h
index 81ed296f8a..0f2fa292fb 100644
--- a/mg.h
+++ b/mg.h
@@ -33,6 +33,7 @@ struct magic {
#define MGf_TAINTEDDIR 1 /* PERL_MAGIC_envelem only */
#define MGf_MINMATCH 1 /* PERL_MAGIC_regex_global only */
+#define MGf_REQUIRE_GV 1 /* PERL_MAGIC_checkcall only */
#define MGf_REFCOUNTED 2
#define MGf_GSKIP 4 /* skip further GETs until after next SET */
#define MGf_COPY 8 /* has an svt_copy MGVTBL entry */