summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-02-27 04:34:30 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-02-27 04:34:30 +0900
commit5b8229715df0d676367ab9d5c38a658b043781b3 (patch)
tree551cbeea4e1e17e347d418551bd504557430d736 /include
parent0c1c4416e7c96cf589dbeee2103fa9432dc17473 (diff)
downloadmruby-5b8229715df0d676367ab9d5c38a658b043781b3.tar.gz
mruby-5b8229715df0d676367ab9d5c38a658b043781b3.zip
revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
Diffstat (limited to 'include')
-rw-r--r--include/mruby/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index 6655d7c4c..96c4092b5 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -14,7 +14,7 @@ mrb_value mrb_format(mrb_state *mrb, const char *format, ...);
void mrb_exc_print(mrb_state *mrb, struct RObject *exc);
void mrb_longjmp(mrb_state *mrb);
void mrb_print_backtrace(mrb_state *mrb);
-mrb_value mrb_get_backtrace(mrb_state *mrb, mrb_value exc);
-void mrb_get_backtrace_at(mrb_state *mrb, mrb_callinfo *ci, mrb_code *pc0);
+mrb_value mrb_exc_backtrace(mrb_state *mrb, mrb_value exc);
+mrb_value mrb_get_backtrace(mrb_state *mrb);
#endif /* MRUBY_ERROR_H */