Commit 61e35988 authored by take_cheeze's avatar take_cheeze

support c++ in mruby/debug.h

parent bd5afe9e
#ifndef MRUBY_DEBUG_H #ifndef MRUBY_DEBUG_H
#define MRUBY_DEBUG_H #define MRUBY_DEBUG_H
#if defined(__cplusplus)
extern "C" {
#endif
#include <stdint.h> #include <stdint.h>
#include "mruby/value.h" #include "mruby/value.h"
...@@ -54,4 +58,8 @@ mrb_irep_debug_info_file* mrb_debug_info_append_file( ...@@ -54,4 +58,8 @@ mrb_irep_debug_info_file* mrb_debug_info_append_file(
mrb_irep_debug_info* mrb_debug_info_alloc(struct mrb_state* mrb, struct mrb_irep* irep); mrb_irep_debug_info* mrb_debug_info_alloc(struct mrb_state* mrb, struct mrb_irep* irep);
void mrb_debug_info_free(struct mrb_state* mrb, mrb_irep_debug_info* d); void mrb_debug_info_free(struct mrb_state* mrb, mrb_irep_debug_info* d);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
#endif /* MRUBY_DEBUG_H */ #endif /* MRUBY_DEBUG_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment