diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-09-20 15:13:59 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 13:00:58 -0700 |
commit | 6c53d59b03d375fb8b965556b3c8cbd864ecf753 (patch) | |
tree | 6047a8239c3a81483811ca34c6741dae4cbc0e1b | |
parent | c856b47ad7997b27392f0249839bf163d2a422cf (diff) | |
download | perl-6c53d59b03d375fb8b965556b3c8cbd864ecf753.tar.gz |
Restore gv_fetchmeth to perlapi
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | gv.c | 4 | ||||
-rw-r--r-- | proto.h | 3 |
3 files changed, 9 insertions, 0 deletions
@@ -437,6 +437,8 @@ Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|boo Ap |GV* |gv_fetchfile |NN const char* name Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\ |const U32 flags +Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \ + |STRLEN len|I32 level Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \ |I32 level|U32 flags @@ -555,6 +555,10 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv, } /* +=for apidoc gv_fetchmeth + +Like L</gv_fetchmeth_pvn>, but lacks a flags parameter. + =for apidoc gv_fetchmeth_sv Exactly like L</gv_fetchmeth_pvn>, but takes the name string in the form @@ -1192,6 +1192,9 @@ PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const ST #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \ assert(name) +/* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) + __attribute__nonnull__(pTHX_2); */ + PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) __attribute__nonnull__(pTHX_2); #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD \ |