Use mrb_bool as return type of mrb_const_defined_at.

This commit is contained in:
take_cheeze
2014-07-14 21:04:22 +09:00
parent 23c811bda6
commit dbece716ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1085,7 +1085,7 @@ retry:
return FALSE;
}
int
mrb_bool
mrb_const_defined_at(mrb_state *mrb, struct RClass *klass, mrb_sym id)
{
return mrb_const_defined_0(mrb, klass, id, TRUE, FALSE);