diff options
-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 |