mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 18:23:15 +00:00
Add extern C
This commit is contained in:
parent
eeb4a995fc
commit
4fc8bf916f
1 changed files with 6 additions and 1 deletions
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 a new issue