[前][次][番号順一覧][スレッド一覧]

ruby-changes:13138

From: nobu <ko1@a...>
Date: Sun, 13 Sep 2009 12:11:30 +0900 (JST)
Subject: [ruby-changes:13138] Ruby:r24889 (trunk): * include/ruby/ruby.h (rb_special_const_p): fixed typo.

nobu	2009-09-13 12:10:24 +0900 (Sun, 13 Sep 2009)

  New Revision: 24889

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

  Log:
    * include/ruby/ruby.h (rb_special_const_p): fixed typo.

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

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 24888)
+++ include/ruby/ruby.h	(revision 24889)
@@ -1270,7 +1270,7 @@
 
 #ifdef __GNUC__
 #define rb_special_const_p(obj) \
-    __extension__ ({VALUE special_const_obj = (obj); (int)(SPECIAL_CONST_P(obj) ? Qtrue : Qfalse);})
+    __extension__ ({VALUE special_const_obj = (obj); (int)(SPECIAL_CONST_P(special_const_obj) ? Qtrue : Qfalse);})
 #else
 static inline int
 rb_special_const_p(VALUE obj)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]