From 968ebac00183b2d015be89349d10c4ee96664e47 Mon Sep 17 00:00:00 2001 From: Kazuaki Tanaka Date: Tue, 20 Sep 2016 23:07:28 +0000 Subject: Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION --- include/mruby.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mruby.h') diff --git a/include/mruby.h b/include/mruby.h index 63c0fca3d..57121fecf 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -176,6 +176,10 @@ typedef struct mrb_state { void (*debug_op_hook)(struct mrb_state* mrb, struct mrb_irep *irep, mrb_code *pc, mrb_value *regs); #endif +#ifdef MRB_BYTECODE_DECODE_OPTION + void (*bytecode_decoder)(struct mrb_state* mrb, mrb_code *code); +#endif + struct RClass *eException_class; struct RClass *eStandardError_class; struct RObject *nomem_err; /* pre-allocated NoMemoryError */ -- cgit v1.2.3