mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-09 15:15:38 +00:00
Add extern C
This commit is contained in:
parent
eeb4a995fc
commit
4fc8bf916f
7
IO/third_party/tga/targa.h
vendored
7
IO/third_party/tga/targa.h
vendored
|
@ -74,7 +74,6 @@
|
||||||
#define TARGA_COLOR_BLUE 3
|
#define TARGA_COLOR_BLUE 3
|
||||||
#define TARGA_COLOR_ALPHA 4
|
#define TARGA_COLOR_ALPHA 4
|
||||||
|
|
||||||
|
|
||||||
// define targa public data types
|
// define targa public data types
|
||||||
|
|
||||||
typedef struct _Targa {
|
typedef struct _Targa {
|
||||||
|
@ -84,6 +83,9 @@ typedef struct _Targa {
|
||||||
unsigned char *image;
|
unsigned char *image;
|
||||||
} Targa;
|
} Targa;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
// declare targa public functions
|
// declare targa public functions
|
||||||
|
|
||||||
|
@ -222,6 +224,9 @@ int targa_applyRgbaMask(Targa *targa, int colorType, unsigned char value);
|
||||||
*/
|
*/
|
||||||
int targa_setRgbaChannel(Targa *targa, int colorType, unsigned char value);
|
int targa_setRgbaChannel(Targa *targa, int colorType, unsigned char value);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // _TARGA_H
|
#endif // _TARGA_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue