Replace int with mrb_bool because return a value is boolean.