mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert changes on rb_frame_method_id_and_class()
r56593 introduced backwards incompatible changes in the API. [ruby-core:78471] [Feature #12747] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a5ad716d0
commit
b16d1968e6
2 changed files with 3 additions and 3 deletions
|
@ -969,7 +969,7 @@ VALUE rb_mod_remove_cvar(VALUE, VALUE);
|
|||
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*);
|
||||
|
||||
|
|
4
vm.c
4
vm.c
|
@ -1982,9 +1982,9 @@ rb_thread_method_id_and_class(rb_thread_t *th, ID *idp, ID *called_idp, VALUE *k
|
|||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue