mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Refactor rb_obj_call_init and rb_obj_call_init_kw (#4351)
This commit is contained in:
parent
47abb70234
commit
be343946c7
Notes:
git
2021-04-04 11:35:26 +09:00
Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 1 additions and 2 deletions
3
eval.c
3
eval.c
|
@ -1711,8 +1711,7 @@ rb_mod_s_used_modules(VALUE _)
|
|||
void
|
||||
rb_obj_call_init(VALUE obj, int argc, const VALUE *argv)
|
||||
{
|
||||
PASS_PASSED_BLOCK_HANDLER();
|
||||
rb_funcallv_kw(obj, idInitialize, argc, argv, RB_NO_KEYWORDS);
|
||||
rb_obj_call_init_kw(obj, argc, argv, RB_NO_KEYWORDS);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue