ruby-changes:43105
From: nobu <ko1@a...>
Date: Fri, 27 May 2016 14:45:00 +0900 (JST)
Subject: [ruby-changes:43105] nobu:r55179 (trunk): ruby.h: fix parameter name
nobu 2016-05-27 14:44:52 +0900 (Fri, 27 May 2016) New Revision: 55179 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55179 Log: ruby.h: fix parameter name * include/ruby/ruby.h (rb_scan_args): fix macro parameter name. Modified files: trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 55178) +++ include/ruby/ruby.h (revision 55179) @@ -2153,7 +2153,7 @@ int ruby_vsnprintf(char *str, size_t n, https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L2153 #if defined(HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P) && defined(__OPTIMIZE__) # define rb_scan_args(argc,argvp,fmt,...) \ __builtin_choose_expr(__builtin_constant_p(fmt), \ - rb_scan_args0(argc,argv,fmt"\0\0\0\0\0\0",\ + rb_scan_args0(argc,argvp,fmt"\0\0\0\0\0\0",\ (sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)), \ ((VALUE*[]){__VA_ARGS__})), \ rb_scan_args(argc,argvp,fmt,__VA_ARGS__)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/