mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
f0e73fc986
commit
7566c49068
20 changed files with 100 additions and 92 deletions
|
@ -192,7 +192,7 @@ static VALUE racc_yyparse _((VALUE parser, VALUE lexer, VALUE lexmid,
|
|||
VALUE arg, VALUE sysdebug));
|
||||
|
||||
static void call_lexer _((struct cparse_params *v));
|
||||
static VALUE lexer_i _((VALUE block_args, VALUE data, VALUE self));
|
||||
static VALUE lexer_i _((RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data)));
|
||||
|
||||
static VALUE assert_array _((VALUE a));
|
||||
static long assert_integer _((VALUE n));
|
||||
|
@ -282,7 +282,7 @@ call_lexer(struct cparse_params *v)
|
|||
#endif
|
||||
|
||||
static VALUE
|
||||
lexer_i(VALUE block_args, VALUE data, VALUE self)
|
||||
lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data))
|
||||
{
|
||||
struct cparse_params *v;
|
||||
VALUE tok, val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue