• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Révision5c093ed22b1a5200d50b221832d5d04f6d38c21b (tree)
l'heure2015-10-20 05:34:47
Auteurfurunkel <julian@linu...>
Commiterfurunkel

Message de Log

Remove segregated value struct declaration

Change Summary

Modification

--- a/include/mruby.h
+++ b/include/mruby.h
@@ -119,7 +119,6 @@ struct mrb_jmpbuf;
119119
120120 typedef void (*mrb_atexit_func)(struct mrb_state*);
121121
122-
123122 typedef struct mrb_state {
124123 struct mrb_jmpbuf *jmp;
125124
--- a/src/gc.c
+++ b/src/gc.c
@@ -101,40 +101,6 @@ typedef struct {
101101 union {
102102 struct free_obj free;
103103 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;
138104 struct RObject object;
139105 struct RClass klass;
140106 struct RString string;