1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
k0kubun 2017-12-01 12:26:40 +00:00
parent 98ab1510c4
commit 857827e3ee
2 changed files with 7 additions and 1 deletions

View file

@ -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