| # | Line 4 | Line 4 | |
|---|---|---|
| 4 | * | |
| 5 | * 8/25/88 | |
| 6 | */ | |
| 7 | + | #ifndef _RAD_TARGA_H_ |
| 8 | + | #define _RAD_TARGA_H_ |
| 9 | + | |
| 10 | + | #ifdef __cplusplus |
| 11 | + | extern "C" { |
| 12 | + | #endif |
| 13 | + | |
| 14 | /* header structure adapted from tardev.h */ | |
| 15 | struct hdStruct { | |
| 16 | char textSize; /* size of info. line ( < 256) */ | |
| # | Line 33 | Line 40 | struct hdStruct { | |
| 40 | #define CM_HASMAP 1 /* has color map */ | |
| 41 | ||
| 42 | #define bits_bytes(n) (((n)+7)>>3) /* number of bits to number of bytes */ | |
| 43 | + | |
| 44 | + | #ifdef __cplusplus |
| 45 | + | } |
| 46 | + | #endif |
| 47 | + | #endif /* _RAD_TARGA_H_ */ |
| 48 | + | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |