mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-27 22:04:17 +01: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_ALPHA 4
|
||||
|
||||
|
||||
// define targa public data types
|
||||
|
||||
typedef struct _Targa {
|
||||
@ -84,6 +83,9 @@ typedef struct _Targa {
|
||||
unsigned char *image;
|
||||
} Targa;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// 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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // _TARGA_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user