From 78915f96017a12e8c3c40a4a2714543c10d0d070 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Tue, 25 Feb 2014 18:47:28 +0900 Subject: support c++ exception --- include/mruby.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/mruby.h') diff --git a/include/mruby.h b/include/mruby.h index 4ef1d326e..3c8f33b2b 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -97,8 +97,10 @@ enum gc_state { GC_STATE_SWEEP }; +struct mrb_jmpbuf; + typedef struct mrb_state { - void *jmp; + struct mrb_jmpbuf *jmp; mrb_allocf allocf; /* memory allocation function */ -- cgit v1.2.3