summaryrefslogtreecommitdiff
path: root/include/ruby/intern.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-26 09:10:42 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-26 15:30:51 -0700
commit37f9213f8957e0c6dffee7d8803890907f97bdbb (patch)
tree3f864d0c39f3360d62b8a7c90bbeb1c92823c4eb /include/ruby/intern.h
parentdd2068ac8d4016f43c1f3cc1aa81decb504db5b6 (diff)
Fix keyword argument separation issues in Enumerator::Generator#each
This requires adding rb_proc_call_kw to pass the keyword flag.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2491
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 4af254d920..14543a9f4d 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -454,6 +454,7 @@ VALUE rb_block_lambda(void);
VALUE rb_proc_new(rb_block_call_func_t, VALUE);
VALUE rb_obj_is_proc(VALUE);
VALUE rb_proc_call(VALUE, VALUE);
+VALUE rb_proc_call_kw(VALUE, VALUE, int);
VALUE rb_proc_call_with_block(VALUE, int argc, const VALUE *argv, VALUE);
VALUE rb_proc_call_with_block_kw(VALUE, int argc, const VALUE *argv, VALUE, int);
int rb_proc_arity(VALUE);