#include "config.h"
#include "vm/types.h"
-#include "toolbox/list.h"
-
#include "vm/references.h"
-#include "vm/jit/jit.h"
-#include "vm/jit/codegen-common.h"
+#include "vm/jit/jit.hpp"
+#include "vm/jit/codegen-common.hpp"
/* convenience macros *********************************************************/
/* function prototypes ********************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void dseg_finish(jitdata *jd);
s4 dseg_add_unique_s4(codegendata *cd, s4 value);
void dseg_display(jitdata *jd);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _DSEG_H */