mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
8474ebad8a
commit
0ca714fa1a
4 changed files with 10 additions and 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]
|
||||
|
|
1
gc.c
1
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;
|
||||
|
|
|
@ -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;
|
||||
|
|
6
symbol.h
6
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
|
||||
|
|
Loading…
Reference in a new issue