diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-25 17:57:00 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-26 08:01:53 -0700 |
commit | b193041b992e5ce0ae1a07735fbdc53a739b5434 (patch) | |
tree | cde06d981ddba5b6dae7935cb7b8d6199b6733f6 /include | |
parent | 6b52959ef76f6f19e50c6f80f00c08bb0daf5c7c (diff) |
Fix keyword argument separation issues in Fiber#resume
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2484
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a44d7fd2a0..4af254d920 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -240,7 +240,9 @@ NORETURN(void rb_cmperr(VALUE, VALUE)); /* cont.c */ VALUE rb_fiber_new(rb_block_call_func_t, VALUE); VALUE rb_fiber_resume(VALUE fib, int argc, const VALUE *argv); +VALUE rb_fiber_resume_kw(VALUE fib, int argc, const VALUE *argv, int kw_splat); VALUE rb_fiber_yield(int argc, const VALUE *argv); +VALUE rb_fiber_yield_kw(int argc, const VALUE *argv, int kw_splat); VALUE rb_fiber_current(void); VALUE rb_fiber_alive_p(VALUE); /* enum.c */ |