[ruby-cvs:60034] nobu:r52881 (trunk): ruby.h: make flag setting macros void

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 4 16:32:06 JST 2015


nobu	2015-12-04 16:32:05 +0900 (Fri, 04 Dec 2015)

  New Revision: 52881

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

  Log:
    ruby.h: make flag setting macros void
    
    * include/ruby/ruby.h (RB_FL_{SET,UNSET,REVERSE,INFECT,FREEZE}):
      turn into void expressions not to use unexpected results.  these
      macros were statements till 2.2.

  Modified files:
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list