Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 1m27s
All checks were successful
CI / build-and-analyze (push) Successful in 1m27s
This commit is contained in:
8
CgePix.h
8
CgePix.h
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user