mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rename prefix RBASIC_ to MRB_; ref #3340
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ ary_fill_with_nil(mrb_value *ptr, mrb_int size)
|
||||
static void
|
||||
ary_modify(mrb_state *mrb, struct RArray *a)
|
||||
{
|
||||
if (RBASIC_FROZEN_P(a)) {
|
||||
if (MRB_FROZEN_P(a)) {
|
||||
mrb_raise(mrb, E_RUNTIME_ERROR, "can't modify frozen array");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user