ruby-changes:12289
From: nobu <ko1@a...>
Date: Tue, 7 Jul 2009 15:23:47 +0900 (JST)
Subject: [ruby-changes:12289] Ruby:r23982 (trunk): * vm.c ({env,vm,thread}_data_type): constified.
nobu 2009-07-07 15:23:39 +0900 (Tue, 07 Jul 2009) New Revision: 23982 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23982 Log: * vm.c ({env,vm,thread}_data_type): constified. Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 23981) +++ vm.c (revision 23982) @@ -238,7 +238,7 @@ return 0; } -rb_data_type_t env_data_type = { +static const rb_data_type_t env_data_type = { "VM/env", env_mark, env_free, env_memsize, }; @@ -1477,7 +1477,7 @@ } } -rb_data_type_t vm_data_type = { +static const rb_data_type_t vm_data_type = { "VM", rb_vm_mark, vm_free, vm_memsize, }; @@ -1662,7 +1662,7 @@ } } -rb_data_type_t thread_data_type = { +static const rb_data_type_t thread_data_type = { "VM/thread", rb_thread_mark, thread_free, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/