diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-15 23:16:20 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-15 23:16:20 +0900 |
| commit | 243669308dfd10c8444c2992a883e165b9209941 (patch) | |
| tree | 55bc9ec31c1c112f54c283b8416ec9a1f0e085ee /src/error.c | |
| parent | c5db1397ee4cfe664502eb206ad901945b4ddb20 (diff) | |
| download | mruby-243669308dfd10c8444c2992a883e165b9209941.tar.gz mruby-243669308dfd10c8444c2992a883e165b9209941.zip | |
obsolete mrb_object; opposite of bc870ce
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c index 6bd891768..488ab6cef 100644 --- a/src/error.c +++ b/src/error.c @@ -206,7 +206,7 @@ exc_debug_info(mrb_state *mrb, struct RObject *exc) void mrb_exc_raise(mrb_state *mrb, mrb_value exc) { - mrb->exc = (struct RObject*)mrb_object(exc); + mrb->exc = mrb_obj_ptr(exc); exc_debug_info(mrb, mrb->exc); if (!mrb->jmp) { mrb_p(mrb, exc); |
