summaryrefslogtreecommitdiffhomepage
path: root/src/error.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/error.c
parentdc2e1c1ce8ae6da16532337b85ea1064db8d0624 (diff)
downloadmruby-d0d920e909497173f562d75309e3b0f0a607778e.tar.gz
mruby-d0d920e909497173f562d75309e3b0f0a607778e.zip
rename mrb_true_or_false_value() to mrb_bool_value()
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index e86e3f22c..b65ff2183 100644
--- a/src/error.c
+++ b/src/error.c
@@ -182,7 +182,7 @@ exc_equal(mrb_state *mrb, mrb_value exc)
equal_p = mrb_equal(mrb, mrb_attr_get(mrb, exc, id_mesg), mesg);
}
- return mrb_true_or_false_value(equal_p);
+ return mrb_bool_value(equal_p);
}
static void