summaryrefslogtreecommitdiff
path: root/src/stlink-lib/spdlog_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stlink-lib/spdlog_wrapper.h')
-rw-r--r--src/stlink-lib/spdlog_wrapper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/stlink-lib/spdlog_wrapper.h b/src/stlink-lib/spdlog_wrapper.h
new file mode 100644
index 0000000..26f34c8
--- /dev/null
+++ b/src/stlink-lib/spdlog_wrapper.h
@@ -0,0 +1,14 @@
+#ifndef _SPDLOG_WRAPPER_
+#define _SPDLOG_WRAPPER_
+
+#ifdef __cplusplus
+#define EXTERNC extern "C"
+#else
+#define EXTERNC
+#endif
+
+EXTERNC int spdlogLog(int level, const char *str, ...);
+
+#undef EXTERNC
+
+#endif \ No newline at end of file