mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ObjectSpace.count_objects to support MRB_TT_ISTRUCT; #5046
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user