Add out_of_memory field to mrb_state.

This commit is contained in:
Masaki Muranaka
2013-04-01 08:35:53 +09:00
parent cc6e62ef3e
commit 29879f9d58
+1
View File
@@ -125,6 +125,7 @@ typedef struct mrb_state {
mrb_bool gc_disabled:1;
mrb_bool gc_full:1;
mrb_bool is_generational_gc_mode:1;
mrb_bool out_of_memory:1;
size_t majorgc_old_threshold;
struct alloca_header *mems;