summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorJun Hiroe <[email protected]>2013-07-14 23:44:29 +0900
committerJun Hiroe <[email protected]>2013-07-14 23:51:44 +0900
commitefac8db6748ef95c52de32b16a534f7b8cbf982d (patch)
treee3a50d02258fb5462c0f786d08ea724adf422371 /include/mruby.h
parent56a3952b66d908c707961882caab4a1c96e5c401 (diff)
downloadmruby-efac8db6748ef95c52de32b16a534f7b8cbf982d.tar.gz
mruby-efac8db6748ef95c52de32b16a534f7b8cbf982d.zip
Replace int with mrb_bool because a return value is boolean.
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h
index e5a5f2c69..a7f2a49c4 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -378,7 +378,7 @@ struct mrb_pool* mrb_pool_open(mrb_state*);
void mrb_pool_close(struct mrb_pool*);
void* mrb_pool_alloc(struct mrb_pool*, size_t);
void* mrb_pool_realloc(struct mrb_pool*, void*, size_t oldlen, size_t newlen);
-int mrb_pool_can_realloc(struct mrb_pool*, void*, size_t);
+mrb_bool mrb_pool_can_realloc(struct mrb_pool*, void*, size_t);
void* mrb_alloca(mrb_state *mrb, size_t);
#if defined(__cplusplus)