summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-07-15 01:19:19 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-07-15 01:19:19 +0900
commitf1160977022ed13017c9604dc91bf7c33960f480 (patch)
treeeeba1d121efb289f5c1ee4d3e284385fff274e60 /include
parentfc8513dc95da1c49ad0545eb4737d36876c4a48b (diff)
parentdbece716eafbbbccacdf045cbd4f1a13c34217d9 (diff)
downloadmruby-f1160977022ed13017c9604dc91bf7c33960f480.tar.gz
mruby-f1160977022ed13017c9604dc91bf7c33960f480.zip
Merge pull request #2471 from take-cheeze/const_defined_at_ret
Use `mrb_bool` as return type of `mrb_const_defined_at`.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/variable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index 68a4e5889..f3bf6ac8e 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -48,7 +48,7 @@ void mrb_iv_set(mrb_state *mrb, mrb_value obj, mrb_sym sym, mrb_value v);
mrb_bool mrb_iv_defined(mrb_state*, mrb_value, mrb_sym);
mrb_value mrb_iv_remove(mrb_state *mrb, mrb_value obj, mrb_sym sym);
void mrb_iv_copy(mrb_state *mrb, mrb_value dst, mrb_value src);
-int mrb_const_defined_at(mrb_state *mrb, struct RClass *klass, mrb_sym id);
+mrb_bool mrb_const_defined_at(mrb_state *mrb, struct RClass *klass, mrb_sym id);
mrb_value mrb_mod_constants(mrb_state *mrb, mrb_value mod);
mrb_value mrb_f_global_variables(mrb_state *mrb, mrb_value self);
mrb_value mrb_gv_get(mrb_state *mrb, mrb_sym sym);