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

This commit is contained in:
2026-08-18 10:42:42 +03:00
parent 3d7b922449
commit 7b9342c348

View File

@@ -1,6 +1,10 @@
#ifndef CGE_PIX_H #ifndef CGE_PIX_H
#define CGE_PIX_H #define CGE_PIX_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
@@ -170,4 +174,8 @@ void CgePixConvertRow(void *src, int srcFormat, int srcFlags,
const CgeColor *srcPalette, void *dest, int destFormat, const CgeColor *srcPalette, void *dest, int destFormat,
int destFlags, const CgeColor *destPalette, size_t count); int destFlags, const CgeColor *destPalette, size_t count);
#ifdef __cplusplus
}
#endif
#endif /* CGE_PIX_H */ #endif /* CGE_PIX_H */