mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
vm.c: stop wrapping implementation by extern "C".
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user