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

ruby-changes:18203

From: nobu <ko1@a...>
Date: Thu, 16 Dec 2010 08:04:56 +0900 (JST)
Subject: [ruby-changes:18203] Ruby:r30224 (trunk): * node.h (RNode): match the type of flags to RBasic, and renamed

nobu	2010-12-16 08:04:50 +0900 (Thu, 16 Dec 2010)

  New Revision: 30224

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

  Log:
    * node.h (RNode): match the type of flags to RBasic, and renamed
      nd_file as nd_reserved.

  Modified files:
    trunk/ChangeLog
    trunk/node.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30223)
+++ ChangeLog	(revision 30224)
@@ -1,5 +1,8 @@
-Thu Dec 16 07:51:47 2010  Nobuyoshi Nakada  <nobu@r...>
+Thu Dec 16 08:04:47 2010  Nobuyoshi Nakada  <nobu@r...>
 
+	* node.h (RNode): match the type of flags to RBasic, and renamed
+	  nd_file as nd_reserved.
+
 	* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
 	  is always zero-cleared.
 
Index: node.h
===================================================================
--- node.h	(revision 30223)
+++ node.h	(revision 30224)
@@ -233,8 +233,8 @@
 };
 
 typedef struct RNode {
-    unsigned long flags;
-    char *nd_file;
+    VALUE flags;
+    VALUE nd_reserved;		/* ex nd_file */
     union {
 	struct RNode *node;
 	ID id;

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

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