From 29879f9d582416f205555260fbe9ac8a3d9013ba Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Mon, 1 Apr 2013 08:35:53 +0900 Subject: Add out_of_memory field to mrb_state. --- include/mruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mruby.h b/include/mruby.h index e204820a3..5272d0400 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -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; -- cgit v1.2.3