summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-07 01:30:55 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-07 01:30:55 -0800
commitf1eb0a053778df3cfc2d776dad8b63c65c4c6c7d (patch)
treed3870f98c66bca341c5519d35b1888002f9fd8a1
parentab5dc724a076dd216322ccd971e0e5b2e070737c (diff)
parent602959ec7f8e7a681a419aee4d1c8b0e07f8fb5e (diff)
downloadmruby-f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d.tar.gz
mruby-f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d.zip
Merge pull request #705 from authorNari/compact_flags
Compact flags for GC
-rw-r--r--include/mruby.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 480a764e5..845443a1b 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;