mruby/internal.h: add codedump functions to the internal function header

ref #5906
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-01-18 07:43:59 +09:00
parent 3639feb047
commit 55eea005c8
6 changed files with 1730 additions and 1353 deletions
+6
View File
@@ -38,6 +38,12 @@ int mrb_dump_irep_cstruct(mrb_state *mrb, const mrb_irep*, uint8_t flags, FILE *
#endif
#endif
/* codedump */
void mrb_codedump_all(mrb_state *mrb, struct RProc *proc);
#ifndef MRB_NO_STDIO
void mrb_codedump_all_file(mrb_state *mrb, struct RProc *proc, FILE *out);
#endif
/* error */
mrb_value mrb_exc_inspect(mrb_state *mrb, mrb_value exc);
mrb_value mrb_exc_backtrace(mrb_state *mrb, mrb_value exc);