summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-04-25 17:25:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-04-25 17:25:48 +0900
commitaa8e490fd54bc7c62e591edc349c0dcb5cc572a9 (patch)
tree250e4922c47bc2b110af3a2cbb7e10943a8beb32 /include
parent88cd807379152ea3fec5f534e5f4d6ebebd53982 (diff)
downloadmruby-aa8e490fd54bc7c62e591edc349c0dcb5cc572a9.tar.gz
mruby-aa8e490fd54bc7c62e591edc349c0dcb5cc572a9.zip
Prevent GC during `each_object`; fix #3616
Diffstat (limited to 'include')
-rw-r--r--include/mruby/gc.h1
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;