From 39c3252cd175074581855e5f9681cc723c15ff72 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Tue, 3 Sep 2019 11:32:02 -0700 Subject: Merge pull request #2422 from jeremyevans/rb_keyword_given_p Add rb_keyword_given_p to the C-API --- include/ruby/ruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 0d7880b349..53d4eabc0a 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1960,6 +1960,7 @@ VALUE rb_yield_values(int n, ...); VALUE rb_yield_values2(int n, const VALUE *argv); VALUE rb_yield_splat(VALUE); VALUE rb_yield_block(VALUE, VALUE, int, const VALUE *, VALUE); /* rb_block_call_func */ +int rb_keyword_given_p(void); int rb_block_given_p(void); void rb_need_block(void); VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); -- cgit v1.2.1