@@ -1,6 +1,10 @@
#ifndef CONSOLE_H
#define CONSOLE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdbool.h>
#include <stdint.h>
@@ -15,4 +19,8 @@ bool initConsole();
const char* getConsoleError();
const ConsoleLine* readConsoleLine(const char* prefix);
+}
#endif