зеркало из https://github.com/github/ruby.git
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:
Родитель
8474ebad8a
Коммит
0ca714fa1a
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче