From 0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 6 Oct 2014 13:36:45 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ gc.c | 1 - internal.h | 6 ------ symbol.h | 6 ++++++ 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6b57085bb..8ee6633968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 6 22:37:09 2014 Nobuyoshi Nakada + + * symbol.h (struct RSymbol): move from internal.h. + Mon Oct 6 21:43:03 2014 NAKAMURA Usaku * error.c: update exception tree. [DOC] diff --git a/gc.c b/gc.c index 0fdc62f180..51d17614d9 100644 --- a/gc.c +++ b/gc.c @@ -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; diff --git a/symbol.h b/symbol.h index 36db8ef667..58e03c043e 100644 --- a/symbol.h +++ b/symbol.h @@ -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