mrubyを超漢字で動作させる
Révision | 5c093ed22b1a5200d50b221832d5d04f6d38c21b (tree) |
---|---|
l'heure | 2015-10-20 05:34:47 |
Auteur | furunkel <julian@linu...> |
Commiter | furunkel |
Remove segregated value struct declaration
@@ -119,7 +119,6 @@ struct mrb_jmpbuf; | ||
119 | 119 | |
120 | 120 | typedef void (*mrb_atexit_func)(struct mrb_state*); |
121 | 121 | |
122 | - | |
123 | 122 | typedef struct mrb_state { |
124 | 123 | struct mrb_jmpbuf *jmp; |
125 | 124 |
@@ -101,40 +101,6 @@ typedef struct { | ||
101 | 101 | union { |
102 | 102 | struct free_obj free; |
103 | 103 | struct RBasic basic; |
104 | - struct RClass klass; | |
105 | - struct RProc proc; | |
106 | - struct RException exc; | |
107 | - } as; | |
108 | -} infreq_value; | |
109 | - | |
110 | -typedef struct { | |
111 | - union { | |
112 | - struct free_obj free; | |
113 | - struct RBasic basic; | |
114 | - struct RObject object; | |
115 | -#ifdef MRB_WORD_BOXING | |
116 | - struct RFloat floatv; | |
117 | - struct RCptr cptr; | |
118 | -#endif | |
119 | - } as; | |
120 | -} small_value; | |
121 | - | |
122 | -typedef struct { | |
123 | - union { | |
124 | - struct free_obj free; | |
125 | - struct RBasic basic; | |
126 | - struct RString string; | |
127 | - struct RArray array; | |
128 | - struct RHash hash; | |
129 | - struct RRange range; | |
130 | - struct RData data; | |
131 | - } as; | |
132 | -} large_value; | |
133 | - | |
134 | -typedef struct { | |
135 | - union { | |
136 | - struct free_obj free; | |
137 | - struct RBasic basic; | |
138 | 104 | struct RObject object; |
139 | 105 | struct RClass klass; |
140 | 106 | struct RString string; |