Seba Gamboa
a0fe0c40b1
Remove old doxygen tags
2015-10-08 12:29:10 -03:00
Seba Gamboa
40bf7bde78
Sorting documentation grouping
2015-09-21 01:48:42 -03:00
Seba Gamboa
c127614638
Setting up doxygen groups
2015-09-20 21:14:07 -03:00
Yukihiro "Matz" Matsumoto
1085167fef
add an small comment description in mruby/error.h header
2015-07-15 14:47:15 +09:00
take_cheeze
f6b5a82972
Use class array instead of variadic.
2015-07-15 14:47:15 +09:00
take_cheeze
cdd72d9c37
Implement mrb_protect, mrb_ensure, mrb_rescue, mrb_rescue_exceptions.
...
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.)
Closes #2844 , closes #2837 .
2015-07-15 14:46:56 +09:00
Yukihiro "Matz" Matsumoto
9c311ddc93
refactor mrb_bob_missing to share raising NoMethodError code; fix #2878
...
Note: arguments of mrb_no_method_error() has changed. You need to replace
3rd and 4th argument (say n, argv) to mrb_ary_new_from_values(mrb, n, argv).
2015-07-13 11:07:59 +09:00
Yukihiro "Matz" Matsumoto
c5a23e6a0d
remove header prototype of mrb_exc_print; close #2607
2014-10-15 21:21:58 +09:00
Kouhei Sutou
55dca8337e
Remove duplicated mrb_print_backtrace() declaration
...
It is declared in mruby.h.
2014-09-27 23:53:25 +09:00
Tatsuhiko Kubo
3b904e9408
Unify include guard styles and header comments.
2014-08-21 13:27:37 +09:00
Yukihiro "Matz" Matsumoto
206f89e209
add MRB_API modifiers to mruby API functions
2014-08-04 00:47:08 +09:00
take_cheeze
3c96602574
Use MRB_TT_EXCEPTION in exception object.
2014-07-21 23:09:13 +09:00
take_cheeze
acec9d1ff1
Implement NoMethodError#args.
2014-06-02 22:38:02 +09:00
Yukihiro "Matz" Matsumoto
3cbae53541
move prototype of mrb_format() from error.h to mruby.h; ref #2274
2014-05-20 14:53:42 +09:00
take_cheeze
208bafba2d
Move Kernel#fail definition to mruby-kernel-ext mrbgem.
2014-05-07 00:01:30 +09:00
Takeshi Watanabe
824d3450c5
Qualify argv argument of API const.
2014-04-11 20:38:23 +09:00
cremno
e4afd5374f
add mrb_strlen_lit which makes _lit macros safer
...
strlen(3) + string literal is usually optimized but strlen(3) doesn't
check if its argument is really a string literal. This is important for
mruby's _static functions to which some _lit macros are expanded (string
literals have static storage). See comment for some additional info.
remove unnecessary parentheses
2014-03-12 17:56:08 +01:00
cremno
cbc84ba5b2
error.h: add extern "C" for C++
2014-03-05 19:50:13 +01:00
cubicdaiya
a514e31f6b
introduce mrb_exc_new_str_lit for C string literals
2014-03-04 02:45:13 +09:00
take_cheeze
78915f9601
support c++ exception
2014-03-01 20:05:29 +09:00
Yukihiro "Matz" Matsumoto
5b8229715d
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)
2014-02-27 04:34:30 +09:00
Yukihiro "Matz" Matsumoto
38e9ce21f8
add new function mrb_get_backtrace_at() to get backtrace at ci and pc
2014-02-27 03:45:52 +09:00
take_cheeze
08ea324593
move src/error.h to include/mruby/error.h
2014-02-20 22:41:29 +09:00