Define macros for C linkage

This commit is contained in:
2024-10-05 22:06:13 +01:00
parent ffb99a3644
commit 12f182f0cf
19 changed files with 38 additions and 40 deletions

View File

@@ -4,14 +4,14 @@
#include "tester.h"
#ifdef __cplusplus
extern "C" {
BEGIN_C_LINKAGE
#endif // __cplusplus
TestFuncResult test_libc_allocator(void);
TestFuncResult test_arena_allocator(void);
#ifdef __cplusplus
}
END_C_LINKAGE
#endif // __cplusplus
#endif // !TEST_ALLOCATOR_H