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

ruby-changes:30603

From: akr <ko1@a...>
Date: Sun, 25 Aug 2013 21:07:14 +0900 (JST)
Subject: [ruby-changes:30603] akr:r42682 (trunk): * sizes.c (Init_sizes): Define the size of clock_t.

akr	2013-08-25 21:07:09 +0900 (Sun, 25 Aug 2013)

  New Revision: 42682

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

  Log:
    * sizes.c (Init_sizes): Define the size of clock_t.

  Modified files:
    trunk/ChangeLog
    trunk/sizes.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42681)
+++ ChangeLog	(revision 42682)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Aug 25 21:02:15 2013  Tanaka Akira  <akr@f...>
+
+	* sizes.c (Init_sizes): Define the size of clock_t.
+
 Sun Aug 25 01:47:47 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1.
Index: sizes.c
===================================================================
--- sizes.c	(revision 42681)
+++ sizes.c	(revision 42682)
@@ -41,6 +41,9 @@ Init_sizes(void) https://github.com/ruby/ruby/blob/trunk/sizes.c#L41
 #if SIZEOF_TIME_T != 0
     DEFINE(time_t, TIME_T);
 #endif
+#if SIZEOF_CLOCK_T != 0
+    DEFINE(clock_t, CLOCK_T);
+#endif
 #if SIZEOF_SIZE_T != 0
     DEFINE(size_t, SIZE_T);
 #endif

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

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