From 7566c49068869c222385ffb26bf91b666b3390b1 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Nov 2013 07:59:14 +0000 Subject: 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 --- ext/pathname/pathname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pathname/pathname.c') diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 8205b3c830..3db97fcf3d 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -968,7 +968,7 @@ path_zero_p(VALUE self) } static VALUE -glob_i(VALUE elt, VALUE klass, int argc, VALUE *argv) +glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, klass)) { return rb_yield(rb_class_new_instance(1, &elt, klass)); } @@ -1106,7 +1106,7 @@ path_opendir(VALUE self) } static VALUE -each_entry_i(VALUE elt, VALUE klass, int argc, VALUE *argv) +each_entry_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, klass)) { return rb_yield(rb_class_new_instance(1, &elt, klass)); } -- cgit v1.2.3