зеркало из https://github.com/github/ruby.git
Delete unused rb_check_funcall_with_hook()
This commit is contained in:
Родитель
34715bdd91
Коммит
68a419d749
|
@ -64,8 +64,6 @@ void rb_lastline_set_up(VALUE val, unsigned int up);
|
|||
VALUE rb_current_realfilepath(void);
|
||||
VALUE rb_check_block_call(VALUE, ID, int, const VALUE *, rb_block_call_func_t, VALUE);
|
||||
typedef void rb_check_funcall_hook(int, VALUE, ID, int, const VALUE *, VALUE);
|
||||
VALUE rb_check_funcall_with_hook(VALUE recv, ID mid, int argc, const VALUE *argv,
|
||||
rb_check_funcall_hook *hook, VALUE arg);
|
||||
VALUE rb_check_funcall_with_hook_kw(VALUE recv, ID mid, int argc, const VALUE *argv,
|
||||
rb_check_funcall_hook *hook, VALUE arg, int kw_splat);
|
||||
const char *rb_type_str(enum ruby_value_type type);
|
||||
|
|
|
@ -726,13 +726,6 @@ rb_check_funcall_with_hook_kw(VALUE recv, ID mid, int argc, const VALUE *argv,
|
|||
return rb_vm_call_kw(ec, recv, mid, argc, argv, me, kw_splat);
|
||||
}
|
||||
|
||||
VALUE
|
||||
rb_check_funcall_with_hook(VALUE recv, ID mid, int argc, const VALUE *argv,
|
||||
rb_check_funcall_hook *hook, VALUE arg)
|
||||
{
|
||||
return rb_check_funcall_with_hook_kw(recv, mid, argc, argv, hook, arg, RB_NO_KEYWORDS);
|
||||
}
|
||||
|
||||
const char *
|
||||
rb_type_str(enum ruby_value_type type)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче