[ruby-cvs:62265] naruse:r55102 (trunk): * include/ruby/ruby.h (rb_scan_args): use __VA_ARGS__ instead of

naruse at ruby-lang.org naruse at ruby-lang.org
Sat May 21 22:24:33 JST 2016


naruse	2016-05-21 22:24:33 +0900 (Sat, 21 May 2016)

  New Revision: 55102

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55102

  Log:
    * include/ruby/ruby.h (rb_scan_args): use __VA_ARGS__ instead of
      va_arg to allow compilers optimize more aggressive.
      https://gustedt.wordpress.com/2011/07/10/avoid-writing-va_arg-functions/
      rb_scan_args is now expected to be statically resolved.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list