diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-06 13:36:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-06 13:36:45 +0000 |
commit | 0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b (patch) | |
tree | e67a09f72bf71bc5dbb677e455fbdd039e0a8996 | |
parent | 8474ebad8a4abb4c4b5ae7ecc5f5c7648763d2d3 (diff) | |
download | ruby-0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b.tar.gz |
symbol.h: move struct RSymbol
* symbol.h (struct RSymbol): move from internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 1 | ||||
-rw-r--r-- | internal.h | 6 | ||||
-rw-r--r-- | symbol.h | 6 |
4 files changed, 10 insertions, 7 deletions
@@ -1,3 +1,7 @@ +Mon Oct 6 22:37:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * symbol.h (struct RSymbol): move from internal.h. + Mon Oct 6 21:43:03 2014 NAKAMURA Usaku <usa@ruby-lang.org> * error.c: update exception tree. [DOC] @@ -381,7 +381,6 @@ typedef struct RVALUE { struct RMatch match; struct RRational rational; struct RComplex complex; - struct RSymbol symbol; struct { struct RBasic basic; VALUE v1; diff --git a/internal.h b/internal.h index 1a9be71c31..a4d56b9984 100644 --- a/internal.h +++ b/internal.h @@ -420,12 +420,6 @@ struct RRational { #define RRATIONAL(obj) (R_CAST(RRational)(obj)) -struct RSymbol { - struct RBasic basic; - VALUE fstr; - ID type; -}; - struct RFloat { struct RBasic basic; double float_value; @@ -14,6 +14,12 @@ #include "id.h" +struct RSymbol { + struct RBasic basic; + VALUE fstr; + ID type; +}; + #define RSYMBOL(obj) (R_CAST(RSymbol)(obj)) static inline int |