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

ruby-changes:35739

From: nobu <ko1@a...>
Date: Mon, 6 Oct 2014 22:37:00 +0900 (JST)
Subject: [ruby-changes:35739] nobu:r47821 (trunk): symbol.h: move struct RSymbol

nobu	2014-10-06 22:36:45 +0900 (Mon, 06 Oct 2014)

  New Revision: 47821

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

  Log:
    symbol.h: move struct RSymbol
    
    * symbol.h (struct RSymbol): move from internal.h.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/internal.h
    trunk/symbol.h
Index: symbol.h
===================================================================
--- symbol.h	(revision 47820)
+++ symbol.h	(revision 47821)
@@ -14,6 +14,12 @@ https://github.com/ruby/ruby/blob/trunk/symbol.h#L14
 
 #include "id.h"
 
+struct RSymbol {
+    struct RBasic basic;
+    VALUE fstr;
+    ID type;
+};
+
 #define RSYMBOL(obj) (R_CAST(RSymbol)(obj))
 
 static inline int
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47820)
+++ ChangeLog	(revision 47821)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Oct  6 22:37:09 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* symbol.h (struct RSymbol): move from internal.h.
+
 Mon Oct  6 21:43:03 2014  NAKAMURA Usaku  <usa@r...>
 
 	* error.c: update exception tree. [DOC]
Index: gc.c
===================================================================
--- gc.c	(revision 47820)
+++ gc.c	(revision 47821)
@@ -381,7 +381,6 @@ typedef struct RVALUE { https://github.com/ruby/ruby/blob/trunk/gc.c#L381
 	struct RMatch  match;
 	struct RRational rational;
 	struct RComplex complex;
-	struct RSymbol symbol;
 	struct {
 	    struct RBasic basic;
 	    VALUE v1;
Index: internal.h
===================================================================
--- internal.h	(revision 47820)
+++ internal.h	(revision 47821)
@@ -420,12 +420,6 @@ struct RRational { https://github.com/ruby/ruby/blob/trunk/internal.h#L420
 
 #define RRATIONAL(obj) (R_CAST(RRational)(obj))
 
-struct RSymbol {
-    struct RBasic basic;
-    VALUE fstr;
-    ID type;
-};
-
 struct RFloat {
     struct RBasic basic;
     double float_value;

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

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