diff --git a/CgePix.h b/CgePix.h index bb94720..baf871d 100644 --- a/CgePix.h +++ b/CgePix.h @@ -1,6 +1,10 @@ #ifndef CGE_PIX_H #define CGE_PIX_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -170,4 +174,8 @@ void CgePixConvertRow(void *src, int srcFormat, int srcFlags, const CgeColor *srcPalette, void *dest, int destFormat, int destFlags, const CgeColor *destPalette, size_t count); +#ifdef __cplusplus +} +#endif + #endif /* CGE_PIX_H */