diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-03 11:32:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 11:32:02 -0700 |
commit | 39c3252cd175074581855e5f9681cc723c15ff72 (patch) | |
tree | d10d0915b8611efeb9dd231542c20b6bc60609a4 /include | |
parent | f702cd6ace7e134714d42ffb1606c25b5ded24c7 (diff) | |
download | ruby-39c3252cd175074581855e5f9681cc723c15ff72.tar.gz |
Merge pull request #2422 from jeremyevans/rb_keyword_given_p
Add rb_keyword_given_p to the C-API
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |