diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-05 16:54:43 +0900 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-05 17:47:12 -0700 |
commit | 437ff408790d5426e0ee03a4b22171bf745471a7 (patch) | |
tree | 272f143365fa0bf991bb25dadcff06b21406f2ed /vm_insnhelper.c | |
parent | c5555e2eb8631e649cc9377f0bd75ebc2788cc7d (diff) | |
download | ruby-437ff408790d5426e0ee03a4b22171bf745471a7.tar.gz |
C method should accept a keyword hash (for compatibility with 2.6)
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index f8d68ccae6..8435948994 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2227,7 +2227,7 @@ vm_call_cfunc(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, struct rb { RB_DEBUG_COUNTER_INC(ccf_cfunc); - CALLER_SETUP_ARG(reg_cfp, calling, ci, 1); + CALLER_SETUP_ARG(reg_cfp, calling, ci, 0); return vm_call_cfunc_with_frame(ec, reg_cfp, calling, ci, cc); } |