From 857827e3eed915543ac9d4d2541179ea4ded8eee Mon Sep 17 00:00:00 2001 From: k0kubun Date: Fri, 1 Dec 2017 12:26:40 +0000 Subject: vm.c: partially revert r60558 because it was actually used in https://github.com/tmm1/rbtrace/blob/v0.4.8/ext/rbtrace.c#L329 and deprecated in r60579 AFTER removal in r60558. ko1 agreed that we should keep just deprecated in Ruby 2.5 and remove it later, and I'm commiting this because I want to make rbtrace.gem installation successful. backward.h: modify r60579 to make rb_frame_method_id_and_class() compilable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/backward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ruby/backward.h b/include/ruby/backward.h index 7f54e241a5..76bd162cb2 100644 --- a/include/ruby/backward.h +++ b/include/ruby/backward.h @@ -50,7 +50,7 @@ DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); /* vm.c */ -DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_frame_method_id_and_class); +DEPRECATED(int rb_frame_method_id_and_class(ID *idp, VALUE *klassp)); /* from version.c */ #ifndef RUBY_SHOW_COPYRIGHT_TO_DIE -- cgit v1.2.3