diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-09-12 16:20:32 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-09-12 16:20:32 +0900 |
| commit | 540066c9e2cd89bd22201b18f09b5f7d7fbcd612 (patch) | |
| tree | f3c32d975d8368112a6cf6a03dbb6c57d61417fb /include | |
| parent | 3a49dfd198da706ffc5ccfc68125d8e332c1b354 (diff) | |
| download | mruby-540066c9e2cd89bd22201b18f09b5f7d7fbcd612.tar.gz mruby-540066c9e2cd89bd22201b18f09b5f7d7fbcd612.zip | |
mrb_sym can be short integer; reduced 10KB
Diffstat (limited to 'include')
| -rw-r--r-- | include/mrbconf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index b4332adcd..d7ccb261d 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -62,11 +62,10 @@ typedef double mrb_float; #ifdef MRB_NAN_BOXING typedef int32_t mrb_int; -typedef int32_t mrb_sym; #else typedef int mrb_int; -typedef intptr_t mrb_sym; #endif +typedef short mrb_sym; /* define ENABLE_XXXX from DISABLE_XXX */ #ifndef DISABLE_REGEXP |
