[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

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

  Log:
    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:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list