mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
kernel.c: use preallocated symbol.
This commit is contained in:
+1
-1
@@ -542,7 +542,7 @@ mrb_obj_ceqq(mrb_state *mrb, mrb_value self)
|
||||
return mrb_false_value();
|
||||
}
|
||||
else {
|
||||
ary = mrb_funcall(mrb, self, "to_a", 0);
|
||||
ary = mrb_funcall_id(mrb, self, MRB_SYM(to_a), 0);
|
||||
if (mrb_nil_p(ary)) {
|
||||
return mrb_funcall_argv(mrb, self, eqq, 1, &v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user