Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 1m24s

This commit is contained in:
2026-08-18 10:42:08 +03:00
parent ef560e33b6
commit 39076d3ded

View File

@@ -1,6 +1,10 @@
#ifndef CGE_FILE_H #ifndef CGE_FILE_H
#define CGE_FILE_H #define CGE_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
@@ -59,4 +63,8 @@ int CgeFileEndOfFile(CgeFile *file);
int CgeFileClear(CgeFile *file); int CgeFileClear(CgeFile *file);
int CgeFileErrorCode(CgeFile *file); int CgeFileErrorCode(CgeFile *file);
#ifdef __cplusplus
}
#endif
#endif /* CGE_FILE_H */ #endif /* CGE_FILE_H */