diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-07 01:30:55 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-07 01:30:55 -0800 |
| commit | f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d (patch) | |
| tree | d3870f98c66bca341c5519d35b1888002f9fd8a1 /include | |
| parent | ab5dc724a076dd216322ccd971e0e5b2e070737c (diff) | |
| parent | 602959ec7f8e7a681a419aee4d1c8b0e07f8fb5e (diff) | |
| download | mruby-f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d.tar.gz mruby-f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d.zip | |
Merge pull request #705 from authorNari/compact_flags
Compact flags for GC
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 6 |
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; |
