ruby-changes:44906
From: ktsj <ko1@a...>
Date: Sun, 4 Dec 2016 14:40:22 +0900 (JST)
Subject: [ruby-changes:44906] ktsj:r56979 (trunk): Revert changes on rb_frame_method_id_and_class()
ktsj 2016-12-04 14:40:18 +0900 (Sun, 04 Dec 2016) New Revision: 56979 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56979 Log: Revert changes on rb_frame_method_id_and_class() r56593 introduced backwards incompatible changes in the API. [ruby-core:78471] [Feature #12747] Modified files: trunk/include/ruby/intern.h trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 56978) +++ vm.c (revision 56979) @@ -1982,9 +1982,9 @@ rb_thread_method_id_and_class(rb_thread_ https://github.com/ruby/ruby/blob/trunk/vm.c#L1982 } int -rb_frame_method_id_and_class(ID *idp, ID *called_idp, VALUE *klassp) +rb_frame_method_id_and_class(ID *idp, VALUE *klassp) { - return rb_thread_method_id_and_class(GET_THREAD(), idp, called_idp, klassp); + return rb_thread_method_id_and_class(GET_THREAD(), idp, 0, klassp); } VALUE Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 56978) +++ include/ruby/intern.h (revision 56979) @@ -969,7 +969,7 @@ VALUE rb_mod_remove_cvar(VALUE, VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L969 ID rb_frame_callee(void); VALUE rb_str_succ(VALUE); VALUE rb_time_succ(VALUE); -int rb_frame_method_id_and_class(ID *idp, ID *called_idp, VALUE *klassp); +int rb_frame_method_id_and_class(ID *idp, VALUE *klassp); VALUE rb_make_backtrace(void); VALUE rb_make_exception(int, const VALUE*); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/