vm.c: stop wrapping implementation by extern "C".

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-10-31 16:32:58 +09:00
parent 37fac6c089
commit c68d3dcbac
+1 -10
View File
@@ -28,16 +28,10 @@ extern "C" {
#endif
void abort(void);
#if defined(__cplusplus)
} /* extern "C" { */
} /* extern "C" */
#endif
#endif
#if defined(MRB_USE_CXX_EXCEPTION) && defined(__cplusplus)
# if !defined(MRB_USE_CXX_ABI)
extern "C" {
# endif
#endif
#define STACK_INIT_SIZE 128
#define CALLINFO_INIT_SIZE 32
@@ -3124,8 +3118,5 @@ mrb_top_run(mrb_state *mrb, const struct RProc *proc, mrb_value self, mrb_int st
}
#if defined(MRB_USE_CXX_EXCEPTION) && defined(__cplusplus)
# if !defined(MRB_USE_CXX_ABI)
} /* end of extern "C" */
# endif
mrb_int mrb_jmpbuf_id = 0;
#endif