prevent c++ name mangling

This commit is contained in:
2025-10-21 00:10:20 +02:00
parent 586733f2eb
commit a82fb80a99
+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 */