diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 07:59:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 07:59:14 +0000 |
commit | 7566c49068869c222385ffb26bf91b666b3390b1 (patch) | |
tree | abb203e4d6cf86b42d8e7b9d260abf2daef57e00 /array.c | |
parent | f0e73fc9862c8d2c57a89349fb79012b826b8245 (diff) | |
download | ruby-7566c49068869c222385ffb26bf91b666b3390b1.tar.gz |
ruby/ruby.h: RB_BLOCK_CALL_FUNC_ARGLIST
* include/ruby/ruby.h (RB_BLOCK_CALL_FUNC_ARGLIST): for declaration
argument list of rb_block_call_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2616,7 +2616,7 @@ rb_ary_bsearch(VALUE ary) static VALUE -sort_by_i(VALUE i, VALUE dummy, int argc, VALUE *argv, VALUE blockarg) +sort_by_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, dummy)) { return rb_yield(i); } @@ -3169,7 +3169,7 @@ rb_ary_delete_if(VALUE ary) } static VALUE -take_i(VALUE val, VALUE cbarg, int argc, const VALUE *argv, VALUE blockarg) +take_i(RB_BLOCK_CALL_FUNC_ARGLIST(val, cbarg)) { VALUE *args = (VALUE *)cbarg; if (args[1]-- == 0) rb_iter_break(); |