summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-09-12 16:20:32 +0900
committerYukihiro Matsumoto <[email protected]>2012-09-12 16:20:32 +0900
commit540066c9e2cd89bd22201b18f09b5f7d7fbcd612 (patch)
treef3c32d975d8368112a6cf6a03dbb6c57d61417fb /include
parent3a49dfd198da706ffc5ccfc68125d8e332c1b354 (diff)
downloadmruby-540066c9e2cd89bd22201b18f09b5f7d7fbcd612.tar.gz
mruby-540066c9e2cd89bd22201b18f09b5f7d7fbcd612.zip
mrb_sym can be short integer; reduced 10KB
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h3
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