diff options
| author | furunkel <[email protected]> | 2015-10-19 22:34:47 +0200 |
|---|---|---|
| committer | furunkel <[email protected]> | 2015-10-19 22:34:47 +0200 |
| commit | 5c093ed22b1a5200d50b221832d5d04f6d38c21b (patch) | |
| tree | 24c99e4541837f497c419d02857cd292b35e7ac2 | |
| parent | 3ab2f9371e60039936356afaee9f509d782259fd (diff) | |
| download | mruby-5c093ed22b1a5200d50b221832d5d04f6d38c21b.tar.gz mruby-5c093ed22b1a5200d50b221832d5d04f6d38c21b.zip | |
Remove segregated value struct declaration
| -rw-r--r-- | include/mruby.h | 1 | ||||
| -rw-r--r-- | src/gc.c | 34 |
2 files changed, 0 insertions, 35 deletions
diff --git a/include/mruby.h b/include/mruby.h index 452caed07..8a26146df 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -119,7 +119,6 @@ struct mrb_jmpbuf; typedef void (*mrb_atexit_func)(struct mrb_state*); - typedef struct mrb_state { struct mrb_jmpbuf *jmp; @@ -101,40 +101,6 @@ typedef struct { union { struct free_obj free; struct RBasic basic; - struct RClass klass; - struct RProc proc; - struct RException exc; - } as; -} infreq_value; - -typedef struct { - union { - struct free_obj free; - struct RBasic basic; - struct RObject object; -#ifdef MRB_WORD_BOXING - struct RFloat floatv; - struct RCptr cptr; -#endif - } as; -} small_value; - -typedef struct { - union { - struct free_obj free; - struct RBasic basic; - struct RString string; - struct RArray array; - struct RHash hash; - struct RRange range; - struct RData data; - } as; -} large_value; - -typedef struct { - union { - struct free_obj free; - struct RBasic basic; struct RObject object; struct RClass klass; struct RString string; |
