ruby-changes:18756
From: nobu <ko1@a...>
Date: Sat, 5 Feb 2011 02:11:38 +0900 (JST)
Subject: [ruby-changes:18756] Ruby:r30783 (trunk): * vm.c (ruby_thread_data_type): add prefix.
nobu 2011-02-05 02:08:44 +0900 (Sat, 05 Feb 2011) New Revision: 30783 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30783 Log: * vm.c (ruby_thread_data_type): add prefix. Modified files: trunk/ChangeLog trunk/vm.c trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 30782) +++ ChangeLog (revision 30783) @@ -1,3 +1,7 @@ +Sat Feb 5 02:08:37 2011 Nobuyoshi Nakada <nobu@r...> + + * vm.c (ruby_thread_data_type): add prefix. + Sat Feb 5 00:59:54 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * vm_core.h (GetThreadPtr): use TypedData_Get_Struct() instead Index: vm_core.h =================================================================== --- vm_core.h (revision 30782) +++ vm_core.h (revision 30783) @@ -347,10 +347,10 @@ VALUE proc; } rb_block_t; -extern const rb_data_type_t thread_data_type; +extern const rb_data_type_t ruby_thread_data_type; #define GetThreadPtr(obj, ptr) \ - TypedData_Get_Struct((obj), rb_thread_t, &thread_data_type, (ptr)) + TypedData_Get_Struct((obj), rb_thread_t, &ruby_thread_data_type, (ptr)) enum rb_thread_status { THREAD_TO_KILL, Index: vm.c =================================================================== --- vm.c (revision 30782) +++ vm.c (revision 30783) @@ -1756,7 +1756,8 @@ } } -const rb_data_type_t thread_data_type = { +#define thread_data_type ruby_thread_data_type +const rb_data_type_t ruby_thread_data_type = { "VM/thread", { rb_thread_mark, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/