Commit 05df94f1 authored by Thiago Scalone's avatar Thiago Scalone

Added dump_irep in header.

parent 2cb54e4b
......@@ -14,6 +14,7 @@ extern "C" {
#include "mruby.h"
#include "mruby/irep.h"
int dump_irep(mrb_state *mrb, mrb_irep *irep, int debug_info, uint8_t **bin, size_t *bin_size);
#ifdef ENABLE_STDIO
int mrb_dump_irep_binary(mrb_state*, mrb_irep*, int, FILE*);
int mrb_dump_irep_cfunc(mrb_state *mrb, mrb_irep*, int, FILE *f, const char *initname);
......
......@@ -725,7 +725,7 @@ is_debug_info_defined(mrb_irep *irep)
return TRUE;
}
static int
int
dump_irep(mrb_state *mrb, mrb_irep *irep, int debug_info, uint8_t **bin, size_t *bin_size)
{
int result = MRB_DUMP_GENERAL_FAILURE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment