mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
add new function mrb_toplevel_run to prevent running through C function boudaries on exceptions; close #1942
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user