summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorMatthew Horsfall <wolfsage@gmail.com>2015-01-17 11:50:31 -0500
committerMatthew Horsfall <wolfsage@gmail.com>2015-01-20 11:55:21 -0500
commit13c59d41da4d2fed8800d99aa2823bcd0b64b38d (patch)
treed72b9ce2d3df65dea6800277f5f1cb09ba142d1f /proto.h
parentdf3c16d073dd0950fd720df37ebd8c36a602471c (diff)
downloadperl-13c59d41da4d2fed8800d99aa2823bcd0b64b38d.tar.gz
Revert "refactor gv_add_by_type"
This reverts commit 819b139db33e2022424694e381422766903d4f65. This could be repapplied for 5.23.1, with modifications or additional patches to solve the breakage discussed in RT 123580.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/proto.h b/proto.h
index 0728c454b5..a0c4a4038e 100644
--- a/proto.h
+++ b/proto.h
@@ -1392,11 +1392,7 @@ PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flag
/* PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv); */
/* PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv); */
/* PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv); */
-PERL_CALLCONV SV* Perl_gv_add_by_type_p(pTHX_ GV *gv, gv_add_type type)
- __attribute__nonnull__(pTHX_1);
-#define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE_P \
- assert(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); */