Prevent name mangling in C++

This commit is contained in:
blankhex committed 2026-08-18 10:42:08 +03:00
1 parent ef560e33b6
commit 39076d3ded
1 file changed
+8
+8
View File
@@ -1,6 +1,10 @@
#ifndef CGE_FILE_H
#define CGE_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stddef.h>
@@ -59,4 +63,8 @@ int CgeFileEndOfFile(CgeFile *file);
int CgeFileClear(CgeFile *file);
int CgeFileErrorCode(CgeFile *file);
#ifdef __cplusplus
}
#endif
#endif /* CGE_FILE_H */