mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
support c++ in mruby/debug.h
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user