prevent c++ name mangling

This commit is contained in:
anth64 committed 2025-10-21 00:10:20 +02:00
1 parent 586733f2eb
commit a82fb80a99
1 file changed
+8
+8
View File
@@ -3,7 +3,15 @@
#include "stk_version.h" #include "stk_version.h"
#ifdef __cplusplus
extern "C" {
#endif
int stk_init(void); int stk_init(void);
int stk_shutdown(void); int stk_shutdown(void);
#ifdef __cplusplus
}
#endif
#endif /* STK_H */ #endif /* STK_H */