diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-25 17:25:48 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-25 17:25:48 +0900 |
| commit | aa8e490fd54bc7c62e591edc349c0dcb5cc572a9 (patch) | |
| tree | 250e4922c47bc2b110af3a2cbb7e10943a8beb32 /include | |
| parent | 88cd807379152ea3fec5f534e5f4d6ebebd53982 (diff) | |
| download | mruby-aa8e490fd54bc7c62e591edc349c0dcb5cc572a9.tar.gz mruby-aa8e490fd54bc7c62e591edc349c0dcb5cc572a9.zip | |
Prevent GC during `each_object`; fix #3616
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/gc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/gc.h b/include/mruby/gc.h index dd161efa1..ce214aa56 100644 --- a/include/mruby/gc.h +++ b/include/mruby/gc.h @@ -64,6 +64,7 @@ typedef struct mrb_gc { size_t threshold; int interval_ratio; int step_ratio; + mrb_bool iterating :1; mrb_bool disabled :1; mrb_bool full :1; mrb_bool generational :1; |
