summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index fb73b60b9..bebbf6b04 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -133,6 +133,10 @@ typedef struct mrb_state {
struct RNode *local_svar;/* regexp */
#endif
+#ifdef ENABLE_DEBUG
+ void (*hook_vm_fetch_code)(struct mrb_state* mrb, struct mrb_irep *irep, mrb_code *pc, mrb_value *regs);
+#endif
+
struct RClass *eException_class;
struct RClass *eStandardError_class;