Switch to using WAPP_PLATFORM_CPP instead of __cplusplus

This commit is contained in:
2025-04-20 19:52:33 +01:00
parent 494bbeb398
commit b884d0e6a6
26 changed files with 114 additions and 98 deletions

View File

@@ -3,9 +3,9 @@
#include "wapp.h"
#ifdef __cplusplus
#ifdef WAPP_PLATFORM_CPP
BEGIN_C_LINKAGE
#endif // __cplusplus
#endif // WAPP_PLATFORM_CPP
TestFuncResult test_str8_list_get(void);
TestFuncResult test_str8_list_push_front(void);
@@ -16,8 +16,8 @@ TestFuncResult test_str8_list_pop_back(void);
TestFuncResult test_str8_list_remove(void);
TestFuncResult test_str8_list_empty(void);
#ifdef __cplusplus
#ifdef WAPP_PLATFORM_CPP
END_C_LINKAGE
#endif // __cplusplus
#endif // WAPP_PLATFORM_CPP
#endif // !TEST_STR8_LIST_H