diff --git a/CgeFile.h b/CgeFile.h index ca08157..0f5dc6c 100644 --- a/CgeFile.h +++ b/CgeFile.h @@ -1,6 +1,10 @@ #ifndef CGE_FILE_H #define CGE_FILE_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -59,4 +63,8 @@ int CgeFileEndOfFile(CgeFile *file); int CgeFileClear(CgeFile *file); int CgeFileErrorCode(CgeFile *file); +#ifdef __cplusplus +} +#endif + #endif /* CGE_FILE_H */