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

ruby-changes:21695

From: kosaki <ko1@a...>
Date: Mon, 14 Nov 2011 12:55:51 +0900 (JST)
Subject: [ruby-changes:21695] kosaki:r33744 (trunk): * include/ruby/ruby.h: add #ifdef comment.

kosaki	2011-11-14 12:55:40 +0900 (Mon, 14 Nov 2011)

  New Revision: 33744

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

  Log:
    * include/ruby/ruby.h: add #ifdef comment.

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

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 33743)
+++ include/ruby/ruby.h	(revision 33744)
@@ -533,12 +533,12 @@
 #define NUM2UINT(x) ((unsigned int)rb_num2uint(x))
 unsigned long rb_fix2uint(VALUE);
 #define FIX2UINT(x) ((unsigned int)rb_fix2uint(x))
-#else
+#else /* SIZEOF_INT < SIZEOF_LONG */
 #define NUM2INT(x) ((int)NUM2LONG(x))
 #define NUM2UINT(x) ((unsigned int)NUM2ULONG(x))
 #define FIX2INT(x) ((int)FIX2LONG(x))
 #define FIX2UINT(x) ((unsigned int)FIX2ULONG(x))
-#endif
+#endif /* SIZEOF_INT < SIZEOF_LONG */
 
 short rb_num2short(VALUE);
 unsigned short rb_num2ushort(VALUE);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33743)
+++ ChangeLog	(revision 33744)
@@ -1,3 +1,7 @@
+Sun Nov 13 10:31:03 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* include/ruby/ruby.h: add #ifdef comment.
+
 Sun Nov 13 10:28:18 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* include/ruby/ruby.h: add NUM2SHORT(), NUM2USHORT() macros.

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

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