summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-07-05 04:37:42 -0300
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:00:59 -0700
commit44130a266efbc9cc333a3b386fd6ea15cbd3f9f3 (patch)
tree42db44a35ad0c3b853347087e6a29691927bb8db /gv.h
parentdec33af257d8f60f007432421225ce566dd8a032 (diff)
downloadperl-44130a266efbc9cc333a3b386fd6ea15cbd3f9f3.tar.gz
gv.c: Added gv_fetchmethod_(sv|pv|pvn)_flags.
In addition from taking a flags parameter, it also takes the length of the method; This will eventually make method lookup nul-clean.
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 29de70c22c..c182e829b0 100644
--- a/gv.h
+++ b/gv.h
@@ -239,6 +239,7 @@ Return the SV from the GV.
#define gv_init(gv,stash,name,len,multi) gv_init_pvn(gv,stash,name,len,multi,0)
#define gv_fetchmeth(stash,name,len,level) gv_fetchmeth_pvn(stash, name, len, level, 0)
#define gv_fetchmeth_autoload(stash,name,len,level) gv_fetchmeth_pvn_autoload(stash, name, len, level, 0)
+#define gv_fetchmethod_flags(stash,name,flags) gv_fetchmethod_pv_flags(stash, name, flags)
#define gv_AVadd(gv) gv_add_by_type((gv), SVt_PVAV)
#define gv_HVadd(gv) gv_add_by_type((gv), SVt_PVHV)