summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-12-12 00:54:36 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-12-12 00:54:36 +0900
commit92c843dd07211d698a6dac90fbd740e483ae34af (patch)
tree7bbd0b1db41f1cde9bfbb75401409365107f4eef /src/array.c
parent1fbad32f8bce2a10c591d0e44796bc34913a0e8c (diff)
downloadmruby-92c843dd07211d698a6dac90fbd740e483ae34af.tar.gz
mruby-92c843dd07211d698a6dac90fbd740e483ae34af.zip
rename prefix RBASIC_ to MRB_; ref #3340
Diffstat (limited to 'src/array.c')
-rw-r--r--src/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/array.c b/src/array.c
index c6bac7b47..7601e9c17 100644
--- a/src/array.c
+++ b/src/array.c
@@ -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");
}