Created hook at VM code fetch. It's for debugger

This commit is contained in:
Yuichiro MASUI
2013-02-17 00:13:42 +09:00
parent 92cf2a0ced
commit bc44d06c73
3 changed files with 17 additions and 3 deletions
+4
View File
@@ -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;