summaryrefslogtreecommitdiffhomepage
path: root/src/object.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/object.c
parentdc2e1c1ce8ae6da16532337b85ea1064db8d0624 (diff)
downloadmruby-d0d920e909497173f562d75309e3b0f0a607778e.tar.gz
mruby-d0d920e909497173f562d75309e3b0f0a607778e.zip
rename mrb_true_or_false_value() to mrb_bool_value()
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object.c b/src/object.c
index 2e8366335..99f11540b 100644
--- a/src/object.c
+++ b/src/object.c
@@ -115,7 +115,7 @@ true_and(mrb_state *mrb, mrb_value obj)
mrb_get_args(mrb, "b", &obj2);
- return mrb_true_or_false_value(obj2);
+ return mrb_bool_value(obj2);
}
/* 15.2.5.3.2 */
@@ -134,7 +134,7 @@ true_xor(mrb_state *mrb, mrb_value obj)
int obj2;
mrb_get_args(mrb, "b", &obj2);
- return mrb_true_or_false_value(!obj2);
+ return mrb_bool_value(!obj2);
}
/* 15.2.5.3.3 */
@@ -227,7 +227,7 @@ false_xor(mrb_state *mrb, mrb_value obj)
int obj2;
mrb_get_args(mrb, "b", &obj2);
- return mrb_true_or_false_value(obj2);
+ return mrb_bool_value(obj2);
}
/* 15.2.4.3.3 */
@@ -247,7 +247,7 @@ false_or(mrb_state *mrb, mrb_value obj)
int obj2;
mrb_get_args(mrb, "b", &obj2);
- return mrb_true_or_false_value(obj2);
+ return mrb_bool_value(obj2);
}
/* 15.2.6.3.3 */