diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-26 01:09:09 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-26 01:09:09 +0900 |
| commit | bfd2a539edab8ef7935a75de8a6885d74ff9e8ef (patch) | |
| tree | fce8fd6d21b944d892fc9a9e718f6afd16a79a7d /include/mruby.h | |
| parent | b042b951ce4003f00dc33cdac1c9d422e1a21d55 (diff) | |
| download | mruby-bfd2a539edab8ef7935a75de8a6885d74ff9e8ef.tar.gz mruby-bfd2a539edab8ef7935a75de8a6885d74ff9e8ef.zip | |
add new function mrb_toplevel_run to prevent running through C function boudaries on exceptions; close #1942
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 17d4f1e19..9c63689a0 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -276,6 +276,7 @@ void mrb_close(mrb_state*); mrb_value mrb_top_self(mrb_state *); mrb_value mrb_run(mrb_state*, struct RProc*, mrb_value); +mrb_value mrb_toplevel_run(mrb_state*, struct RProc*); mrb_value mrb_context_run(mrb_state*, struct RProc*, mrb_value, unsigned int); void mrb_p(mrb_state*, mrb_value); |
