summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-03-19 12:03:54 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-03-19 12:03:54 +0900
commitd0d920e909497173f562d75309e3b0f0a607778e (patch)
tree0f421cb092c09f1edf4f13187cd54a3e2807476f /src/array.c
parentdc2e1c1ce8ae6da16532337b85ea1064db8d0624 (diff)
downloadmruby-d0d920e909497173f562d75309e3b0f0a607778e.tar.gz
mruby-d0d920e909497173f562d75309e3b0f0a607778e.zip
rename mrb_true_or_false_value() to mrb_bool_value()
Diffstat (limited to 'src/array.c')
-rw-r--r--src/array.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/array.c b/src/array.c
index 82c4625bd..f5d82d326 100644
--- a/src/array.c
+++ b/src/array.c
@@ -878,7 +878,7 @@ mrb_ary_empty_p(mrb_state *mrb, mrb_value self)
{
struct RArray *a = mrb_ary_ptr(self);
- return mrb_true_or_false_value(a->len == 0);
+ return mrb_bool_value(a->len == 0);
}
mrb_value
@@ -1091,7 +1091,7 @@ mrb_ary_equal(mrb_state *mrb, mrb_value ary1)
}
}
- return mrb_true_or_false_value(equal_p);
+ return mrb_bool_value(equal_p);
}
/* 15.2.12.5.34 (x) */
@@ -1130,7 +1130,7 @@ mrb_ary_eql(mrb_state *mrb, mrb_value ary1)
}
}
- return mrb_true_or_false_value(eql_p);
+ return mrb_bool_value(eql_p);
}
void