This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore gv_autoload4 to perlapi.pod
authorFather Chrysostomos <sprout@cpan.org>
Sat, 24 Sep 2011 03:43:32 +0000 (20:43 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:01:00 +0000 (13:01 -0700)
Even if it’s not documented (which I hope to rectify), it should
still continue to be listed in perlapi.

embed.fnc
proto.h

index d54f54d..dffaaba 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -429,6 +429,8 @@ Ap  |GV*    |gv_add_by_type |NULLOK GV *gv|svtype type
 Apmb   |GV*    |gv_AVadd       |NULLOK GV *gv
 Apmb   |GV*    |gv_HVadd       |NULLOK GV *gv
 Apmb   |GV*    |gv_IOadd       |NULLOK GV* gv
+AmR    |GV*    |gv_autoload4   |NULLOK HV* stash|NN const char* name \
+                               |STRLEN len|I32 method
 ApR    |GV*    |gv_autoload4_sv        |NULLOK HV* stash|NN SV* namesv|I32 method|U32 flags
 ApR    |GV*    |gv_autoload4_pv        |NULLOK HV* stash|NN const char* namepv \
                                         |I32 method|U32 flags
diff --git a/proto.h b/proto.h
index 4cf0a14..b4eed6b 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -1142,6 +1142,10 @@ PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flag
 /* PERL_CALLCONV GV*   Perl_gv_HVadd(pTHX_ GV *gv); */
 /* PERL_CALLCONV GV*   Perl_gv_IOadd(pTHX_ GV* gv); */
 PERL_CALLCONV GV*      Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
+/* PERL_CALLCONV GV*   gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
+                       __attribute__warn_unused_result__
+                       __attribute__nonnull__(pTHX_2); */
+
 PERL_CALLCONV GV*      Perl_gv_autoload4_pv(pTHX_ HV* stash, const char* namepv, I32 method, U32 flags)
                        __attribute__warn_unused_result__
                        __attribute__nonnull__(pTHX_2);