зеркало из 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>
|
Mon Oct 6 21:43:03 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* error.c: update exception tree. [DOC]
|
* error.c: update exception tree. [DOC]
|
||||||
|
|
1
gc.c
1
gc.c
|
@ -381,7 +381,6 @@ typedef struct RVALUE {
|
||||||
struct RMatch match;
|
struct RMatch match;
|
||||||
struct RRational rational;
|
struct RRational rational;
|
||||||
struct RComplex complex;
|
struct RComplex complex;
|
||||||
struct RSymbol symbol;
|
|
||||||
struct {
|
struct {
|
||||||
struct RBasic basic;
|
struct RBasic basic;
|
||||||
VALUE v1;
|
VALUE v1;
|
||||||
|
|
|
@ -420,12 +420,6 @@ struct RRational {
|
||||||
|
|
||||||
#define RRATIONAL(obj) (R_CAST(RRational)(obj))
|
#define RRATIONAL(obj) (R_CAST(RRational)(obj))
|
||||||
|
|
||||||
struct RSymbol {
|
|
||||||
struct RBasic basic;
|
|
||||||
VALUE fstr;
|
|
||||||
ID type;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct RFloat {
|
struct RFloat {
|
||||||
struct RBasic basic;
|
struct RBasic basic;
|
||||||
double float_value;
|
double float_value;
|
||||||
|
|
6
symbol.h
6
symbol.h
|
@ -14,6 +14,12 @@
|
||||||
|
|
||||||
#include "id.h"
|
#include "id.h"
|
||||||
|
|
||||||
|
struct RSymbol {
|
||||||
|
struct RBasic basic;
|
||||||
|
VALUE fstr;
|
||||||
|
ID type;
|
||||||
|
};
|
||||||
|
|
||||||
#define RSYMBOL(obj) (R_CAST(RSymbol)(obj))
|
#define RSYMBOL(obj) (R_CAST(RSymbol)(obj))
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
|
|
Загрузка…
Ссылка в новой задаче