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

ruby-changes:40392

From: ko1 <ko1@a...>
Date: Sat, 7 Nov 2015 03:35:45 +0900 (JST)
Subject: [ruby-changes:40392] ko1:r52473 (trunk): * include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.

ko1	2015-11-07 03:35:29 +0900 (Sat, 07 Nov 2015)

  New Revision: 52473

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

  Log:
    * include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 52472)
+++ include/ruby/ruby.h	(revision 52473)
@@ -1228,7 +1228,7 @@ struct RStruct { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1228
 #define RSTRUCT_LEN(st) rb_struct_len(st)
 #define RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st))
 #define RSTRUCT_CONST_PTR(st) rb_struct_const_ptr(st)
-#define RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st))
+#define RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st)))
 
 #define RSTRUCT_SET(st, idx, v) RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v))
 #define RSTRUCT_GET(st, idx)    (RSTRUCT_CONST_PTR(st)[idx])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52472)
+++ ChangeLog	(revision 52473)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  7 03:32:27 2015  Koichi Sasada  <ko1@a...>
+
+	* include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.
+
 Sat Nov  7 01:32:06 2015  Naohisa Goto  <ngotogenome@g...>
 
 	* dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10.

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

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