From 602959ec7f8e7a681a419aee4d1c8b0e07f8fb5e Mon Sep 17 00:00:00 2001 From: Narihiro Nakamura Date: Mon, 7 Jan 2013 11:57:43 +0900 Subject: Compact flags for GC --- include/mruby.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/mruby.h b/include/mruby.h index 197961c86..f9df6100b 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -121,9 +121,9 @@ typedef struct mrb_state { size_t gc_threshold; int gc_interval_ratio; int gc_step_ratio; - int gc_disabled; - int gc_full; - int is_generational_gc_mode; + unsigned int gc_disabled:1; + unsigned int gc_full:1; + unsigned int is_generational_gc_mode:1; size_t majorgc_old_threshold; struct alloca_header *mems; -- cgit v1.2.3