summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-07-05 02:14:59 -0300
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:00:57 -0700
commite69194836739c81076634d7782cecab9026c4aca (patch)
treeb4378fe58f152e7ad4a453276726c7944a12d3e5 /gv.h
parente11040622d31e730b81d6165586b3dfe4b4bf08f (diff)
downloadperl-e69194836739c81076634d7782cecab9026c4aca.tar.gz
gv.c: Added gv_fetchmeth_(sv|pv|pvn).
I'm probably pushing this too early. Can't do the Perl-level tests because of that. TODO.
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 e48d648604..b75da5a5b1 100644
--- a/gv.h
+++ b/gv.h
@@ -238,6 +238,7 @@ Return the SV from the GV.
#define gv_fetchmethod(stash, name) gv_fetchmethod_autoload(stash, name, TRUE)
#define gv_fetchsv_nomg(n,f,t) gv_fetchsv(n,(f)|GV_NO_SVGMAGIC,t)
#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_AVadd(gv) gv_add_by_type((gv), SVt_PVAV)
#define gv_HVadd(gv) gv_add_by_type((gv), SVt_PVHV)