summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-09-05 00:47:22 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-09-05 00:47:22 +0900
commit9b4ec380d24ce496ed1fb62324b8028c88c24b9d (patch)
treefe07fb8701ef35991277ba0b226b85a055ab6cd8 /include
parent33e44a612c754e5697b4c43f270df0df0ede5f01 (diff)
parent89b27648dd2cc05ea60bb6c79aec4db1ef712497 (diff)
downloadmruby-9b4ec380d24ce496ed1fb62324b8028c88c24b9d.tar.gz
mruby-9b4ec380d24ce496ed1fb62324b8028c88c24b9d.zip
use uint16_t instead of short; ref #2568
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
-rw-r--r--include/mruby/value.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 480080e8b..c45925844 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -161,6 +161,7 @@ typedef struct mrb_state {
mrb_bool gc_full:1;
mrb_bool is_generational_gc_mode:1;
mrb_bool out_of_memory:1;
+ mrb_bool symbol_table_overflow:1;
size_t majorgc_old_threshold;
struct alloca_header *mems;
diff --git a/include/mruby/value.h b/include/mruby/value.h
index b1278e3a3..859687ffc 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -7,7 +7,7 @@
#ifndef MRUBY_VALUE_H
#define MRUBY_VALUE_H
-typedef short mrb_sym;
+typedef uint16_t mrb_sym;
typedef uint8_t mrb_bool;
struct mrb_state;