summaryrefslogtreecommitdiffhomepage
path: root/include/mruby/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mruby/error.h')
-rw-r--r--include/mruby/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index e357606e4..689cf4b8f 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -14,7 +14,7 @@ extern "C" {
void mrb_sys_fail(mrb_state *mrb, const char *mesg);
mrb_value mrb_exc_new_str(mrb_state *mrb, struct RClass* c, mrb_value str);
#define mrb_exc_new_str_lit(mrb, c, lit) mrb_exc_new_str(mrb, c, mrb_str_new_lit(mrb, lit))
-mrb_value mrb_make_exception(mrb_state *mrb, int argc, mrb_value *argv);
+mrb_value mrb_make_exception(mrb_state *mrb, int argc, const mrb_value *argv);
mrb_value mrb_format(mrb_state *mrb, const char *format, ...);
void mrb_exc_print(mrb_state *mrb, struct RObject *exc);
void mrb_print_backtrace(mrb_state *mrb);