array.c: make ary_modify_check() an alias to mrb_check_frozen().
MODIFY
src/array.c
src/array.c
@@ -139,11 +139,7 @@ ary_fill_with_nil(mrb_value *ptr, mrb_int size)
}
}
-static void
-ary_modify_check(mrb_state *mrb, struct RArray *a)
-{
- mrb_check_frozen(mrb, a);
-}
+#define ary_modify_check(mrb, a) mrb_check_frozen((mrb), (a))
static void
ary_modify(mrb_state *mrb, struct RArray *a)

array.c: make ary_modify_check() an alias to mrb_check_frozen().