ruby-changes:43660
From: nobu <ko1@a...>
Date: Sat, 23 Jul 2016 04:06:13 +0900 (JST)
Subject: [ruby-changes:43660] nobu:r55733 (trunk): ruby.h: use prefixed name
nobu 2016-07-23 04:06:07 +0900 (Sat, 23 Jul 2016) New Revision: 55733 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55733 Log: ruby.h: use prefixed name * include/ruby/ruby.h (RTEST, NIL_P): use RUBY prefixed name in macros. Modified files: trunk/ChangeLog trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 55732) +++ include/ruby/ruby.h (revision 55733) @@ -439,8 +439,8 @@ enum ruby_special_consts { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L439 #endif #define SYMBOL_FLAG RUBY_SYMBOL_FLAG -#define RTEST(v) !(((VALUE)(v) & ~Qnil) == 0) -#define NIL_P(v) !((VALUE)(v) != Qnil) +#define RTEST(v) !(((VALUE)(v) & ~RUBY_Qnil) == 0) +#define NIL_P(v) !((VALUE)(v) != RUBY_Qnil) #define CLASS_OF(v) rb_class_of((VALUE)(v)) Index: ChangeLog =================================================================== --- ChangeLog (revision 55732) +++ ChangeLog (revision 55733) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jul 23 04:06:04 2016 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/ruby.h (RTEST, NIL_P): use RUBY prefixed name in + macros. + Sat Jul 23 01:41:29 2016 Eric Wong <e@8...> * lib/webrick/httpservlet/cgihandler.rb (do_GET): delete HTTP_PROXY -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/