diff options
author | Brian Fraser <fraserbn@gmail.com> | 2011-07-05 04:37:42 -0300 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 13:00:59 -0700 |
commit | 44130a266efbc9cc333a3b386fd6ea15cbd3f9f3 (patch) | |
tree | 42db44a35ad0c3b853347087e6a29691927bb8db /gv.h | |
parent | dec33af257d8f60f007432421225ce566dd8a032 (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |