# | Line 2 | Line 2 | |
---|---|---|
2 | /* | |
3 | * tardev.h - header file for reading and writing Targa format files. | |
4 | */ | |
5 | + | #ifndef _RAD_TARGA_H_ |
6 | + | #define _RAD_TARGA_H_ |
7 | + | #ifdef __cplusplus |
8 | + | extern "C" { |
9 | + | #endif |
10 | + | |
11 | #include "copyright.h" | |
12 | ||
13 | /* header structure adapted from tardev.h */ | |
# | Line 33 | Line 39 | struct hdStruct { | |
39 | #define CM_HASMAP 1 /* has color map */ | |
40 | ||
41 | #define bits_bytes(n) (((n)+7)>>3) /* number of bits to number of bytes */ | |
42 | + | |
43 | + | |
44 | + | #ifdef __cplusplus |
45 | + | } |
46 | + | #endif |
47 | + | #endif /* _RAD_TARGA_H_ */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |