summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-17 07:58:29 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-17 07:58:29 +0000
commit256d1bb207447524e8a478707a9d2a73dc679170 (patch)
treec53f95bc0788c951d6210464ce5303ea372a1211 /gv.h
parentc94593d00233fc038590bd1033bbe8f67f02f70c (diff)
downloadperl-256d1bb207447524e8a478707a9d2a73dc679170.tar.gz
/* This code tries to figure out just what went wrong with
gv_fetchmethod. It therefore needs to duplicate a lot of the internals of that function. "Duplicate". <snigger>. You said a naughty word. Now sanitised. [All tests pass, but I'm not 100% confident that this code is equivalent in all reachable corner cases, and it may be possible to simplify the error reporting logic now in gv_fetchmethod_flags] p4raw-id: //depot/perl@33702
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gv.h b/gv.h
index 16aa058fa5..091a5685cf 100644
--- a/gv.h
+++ b/gv.h
@@ -206,6 +206,8 @@ Return the SV from the GV.
#define GV_NOEXPAND 0x40 /* Don't expand SvOK() entries to PVGV */
#define GV_NOTQUAL 0x80 /* A plain symbol name, not qualified with a
package (so skip checks for :: and ') */
+#define GV_AUTOLOAD 0x100 /* gv_fetchmethod_flags() should AUTOLOAD */
+#define GV_CROAK 0x200 /* gv_fetchmethod_flags() should croak */
/* SVf_UTF8 (more accurately the return value from SvUTF8) is also valid
as a flag to gv_fetch_pvn_flags, so ensure it lies outside this range.