Prevent name mangling in C++
This commit is contained in:
1 parent
ef560e33b6
commit
39076d3ded
1 file changed
+8
@@ -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 */
|
||||||
Reference in new issue
Block a user