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

ruby-changes:8842

From: nobu <ko1@a...>
Date: Thu, 27 Nov 2008 17:07:06 +0900 (JST)
Subject: [ruby-changes:8842] Ruby:r20378 (mvm): * vm_core.h (rb_vm_t): moved back from include/ruby/vm.h again.

nobu	2008-11-27 17:06:48 +0900 (Thu, 27 Nov 2008)

  New Revision: 20378

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

  Log:
    * vm_core.h (rb_vm_t): moved back from include/ruby/vm.h again.

  Modified files:
    branches/mvm/ChangeLog
    branches/mvm/include/ruby/vm.h
    branches/mvm/vm_core.h

Index: mvm/include/ruby/vm.h
===================================================================
--- mvm/include/ruby/vm.h	(revision 20377)
+++ mvm/include/ruby/vm.h	(revision 20378)
@@ -14,7 +14,6 @@
 #define HAVE_MVM 1
 
 /* VM type declaration */
-typedef struct rb_vm_struct rb_vm_t;
 typedef struct rb_vm_struct ruby_vm_t;
 
 /* core API */
Index: mvm/ChangeLog
===================================================================
--- mvm/ChangeLog	(revision 20377)
+++ mvm/ChangeLog	(revision 20378)
@@ -1,3 +1,7 @@
+Thu Nov 27 17:06:46 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm_core.h (rb_vm_t): moved back from include/ruby/vm.h again.
+
 Thu Nov 27 16:53:36 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/vm.h (ruby_vm_t): added for external interface.
Index: mvm/vm_core.h
===================================================================
--- mvm/vm_core.h	(revision 20377)
+++ mvm/vm_core.h	(revision 20378)
@@ -229,7 +229,7 @@
 
 #define ENABLE_VM_OBJSPACE 1
 
-struct rb_vm_struct {
+typedef struct rb_vm_struct {
     VALUE self;
 
     rb_thread_lock_t global_vm_lock;
@@ -290,7 +290,7 @@
 #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
     struct rb_objspace *objspace;
 #endif
-};
+} rb_vm_t;
 
 typedef struct {
     VALUE *pc;			/* cfp[0] */

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

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