[ruby-cvs:62343] nobu:r55180 (trunk): fix non-static rb_scan_args

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 27 15:07:34 JST 2016

nobu	2016-05-27 15:07:34 +0900 (Fri, 27 May 2016)

  New Revision: 55180


    fix non-static rb_scan_args
    * include/ruby/ruby.h (rb_scan_args): remove nul padding which
      caused syntax error if fmt is not a string literal.
    * include/ruby/ruby.h (rb_scan_args_verify): suppress array-bounds
      warnings by old clang.
    * include/ruby/ruby.h (rb_scan_args0): make extractor macros
      inline functions, which do not varidate the format and are
      unnecessary to be expanded.

  Modified files:

More information about the ruby-cvs mailing list