diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-23 15:08:38 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-23 15:08:38 +0900 |
| commit | e0e5aebc66833dfe55b362678032f7e0e4a265d7 (patch) | |
| tree | 9f760c627d7e8d2317e9e5dcb0be21b189b96f7b /include/mruby.h | |
| parent | 92570a96b0a047572ad45690f6e6bef279677ea5 (diff) | |
| download | mruby-e0e5aebc66833dfe55b362678032f7e0e4a265d7.tar.gz mruby-e0e5aebc66833dfe55b362678032f7e0e4a265d7.zip | |
add callback invocation from OP_DEBUG
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 1 |
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; |
