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

ruby-changes:20937

From: nobu <ko1@a...>
Date: Tue, 16 Aug 2011 18:57:08 +0900 (JST)
Subject: [ruby-changes:20937] nobu:r32986 (ruby_1_9_3, trunk): * vm.c (ruby_threadptr_data_type): rename to hide.

nobu	2011-08-16 18:56:56 +0900 (Tue, 16 Aug 2011)

  New Revision: 32986

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

  Log:
    * vm.c (ruby_threadptr_data_type): rename to hide.
      [ruby-core:38972]

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/vm.c
    branches/ruby_1_9_3/vm_core.h
    trunk/ChangeLog
    trunk/vm.c
    trunk/vm_core.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32985)
+++ ChangeLog	(revision 32986)
@@ -1,3 +1,8 @@
+Tue Aug 16 18:56:54 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm.c (ruby_threadptr_data_type): rename to hide.
+	  [ruby-core:38972]
+
 Tue Aug 16 18:52:08 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 32985)
+++ vm_core.h	(revision 32986)
@@ -350,10 +350,10 @@
     VALUE proc;
 } rb_block_t;
 
-extern const rb_data_type_t ruby_thread_data_type;
+extern const rb_data_type_t ruby_threadptr_data_type;
 
 #define GetThreadPtr(obj, ptr) \
-    TypedData_Get_Struct((obj), rb_thread_t, &ruby_thread_data_type, (ptr))
+    TypedData_Get_Struct((obj), rb_thread_t, &ruby_threadptr_data_type, (ptr))
 
 enum rb_thread_status {
     THREAD_TO_KILL,
Index: vm.c
===================================================================
--- vm.c	(revision 32985)
+++ vm.c	(revision 32986)
@@ -1786,8 +1786,8 @@
     }
 }
 
-#define thread_data_type ruby_thread_data_type
-const rb_data_type_t ruby_thread_data_type = {
+#define thread_data_type ruby_threadptr_data_type
+const rb_data_type_t ruby_threadptr_data_type = {
     "VM/thread",
     {
 	rb_thread_mark,
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 32985)
+++ ruby_1_9_3/ChangeLog	(revision 32986)
@@ -1,3 +1,8 @@
+Tue Aug 16 18:56:54 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm.c (ruby_threadptr_data_type): rename to hide.
+	  [ruby-core:38972]
+
 Tue Aug 16 18:52:08 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
Index: ruby_1_9_3/vm_core.h
===================================================================
--- ruby_1_9_3/vm_core.h	(revision 32985)
+++ ruby_1_9_3/vm_core.h	(revision 32986)
@@ -350,10 +350,10 @@
     VALUE proc;
 } rb_block_t;
 
-extern const rb_data_type_t ruby_thread_data_type;
+extern const rb_data_type_t ruby_threadptr_data_type;
 
 #define GetThreadPtr(obj, ptr) \
-    TypedData_Get_Struct((obj), rb_thread_t, &ruby_thread_data_type, (ptr))
+    TypedData_Get_Struct((obj), rb_thread_t, &ruby_threadptr_data_type, (ptr))
 
 enum rb_thread_status {
     THREAD_TO_KILL,
Index: ruby_1_9_3/vm.c
===================================================================
--- ruby_1_9_3/vm.c	(revision 32985)
+++ ruby_1_9_3/vm.c	(revision 32986)
@@ -1792,8 +1792,8 @@
     }
 }
 
-#define thread_data_type ruby_thread_data_type
-const rb_data_type_t ruby_thread_data_type = {
+#define thread_data_type ruby_threadptr_data_type
+const rb_data_type_t ruby_threadptr_data_type = {
     "VM/thread",
     {
 	rb_thread_mark,

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

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