support c++ in mruby/debug.h

This commit is contained in:
take_cheeze
2013-09-02 00:18:43 +09:00
parent bd5afe9eef
commit 61e3598893
+8
View File
@@ -1,6 +1,10 @@
#ifndef MRUBY_DEBUG_H
#define MRUBY_DEBUG_H
#if defined(__cplusplus)
extern "C" {
#endif
#include <stdint.h>
#include "mruby/value.h"
@@ -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);
void mrb_debug_info_free(struct mrb_state* mrb, mrb_irep_debug_info* d);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
#endif /* MRUBY_DEBUG_H */