summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c
index c1ae111aa..a105c62f0 100644
--- a/src/object.c
+++ b/src/object.c
@@ -607,7 +607,7 @@ mrb_check_string_type(mrb_state *mrb, mrb_value str)
}
MRB_API mrb_value
-mrb_array_type(mrb_state *mrb, mrb_value ary)
+mrb_ensure_array_type(mrb_state *mrb, mrb_value ary)
{
if (!mrb_array_p(ary)) {
mrb_raisef(mrb, E_TYPE_ERROR, "%S cannot be converted to Array",