1
0
Fork 0
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:
S.H 2021-04-04 11:34:51 +09:00 committed by GitHub
parent 47abb70234
commit be343946c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-04-04 11:35:26 +09:00
Merged-By: nobu <nobu@ruby-lang.org>

3
eval.c
View file

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