summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2015-06-22 10:49:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-07-15 14:47:15 +0900
commitf6b5a829729479d4ae557effc15656605ca71781 (patch)
tree9127017d099a8e35fcbb30582c60f3f38fd57f20 /include
parentcdd72d9c3783749c979edf62522cf9636681538d (diff)
downloadmruby-f6b5a829729479d4ae557effc15656605ca71781.tar.gz
mruby-f6b5a829729479d4ae557effc15656605ca71781.zip
Use class array instead of variadic.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index 3a985236a..d02e9166c 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -35,7 +35,8 @@ MRB_API mrb_value mrb_ensure(mrb_state *mrb, mrb_func_t body, mrb_value b_data,
MRB_API mrb_value mrb_rescue(mrb_state *mrb, mrb_func_t body, mrb_value b_data,
mrb_func_t rescue, mrb_value r_data);
MRB_API mrb_value mrb_rescue_exceptions(mrb_state *mrb, mrb_func_t body, mrb_value b_data,
- mrb_func_t rescue, mrb_value r_data, ...);
+ mrb_func_t rescue, mrb_value r_data,
+ mrb_int len, struct RClass **classes);
#if defined(__cplusplus)
} /* extern "C" { */