summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-01-23 15:08:38 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-01-23 15:08:38 +0900
commite0e5aebc66833dfe55b362678032f7e0e4a265d7 (patch)
tree9f760c627d7e8d2317e9e5dcb0be21b189b96f7b /include
parent92570a96b0a047572ad45690f6e6bef279677ea5 (diff)
downloadmruby-e0e5aebc66833dfe55b362678032f7e0e4a265d7.tar.gz
mruby-e0e5aebc66833dfe55b362678032f7e0e4a265d7.zip
add callback invocation from OP_DEBUG
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index e92550213..3a08afde2 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -156,6 +156,7 @@ typedef struct mrb_state {
#ifdef ENABLE_DEBUG
void (*code_fetch_hook)(struct mrb_state* mrb, struct mrb_irep *irep, mrb_code *pc, mrb_value *regs);
+ void (*debug_op_hook)(struct mrb_state* mrb, struct mrb_irep *irep, mrb_code *pc, mrb_value *regs);
#endif
struct RClass *eException_class;