ObjectSpace.count_objects to support MRB_TT_ISTRUCT; #5046

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-07-23 07:10:35 +09:00
parent e7599050dc
commit b4f4f5968b
@@ -100,6 +100,7 @@ os_count_objects(mrb_state *mrb, mrb_value self)
COUNT_TYPE(T_ENV);
COUNT_TYPE(T_DATA);
COUNT_TYPE(T_FIBER);
COUNT_TYPE(T_ISTRUCT);
#undef COUNT_TYPE
default:
type = mrb_fixnum_value(i); break;