2 |
|
/* |
3 |
|
* tardev.h - header file for reading and writing Targa format files. |
4 |
|
*/ |
5 |
< |
#include "copyright.h" |
6 |
< |
|
5 |
> |
#ifndef _RAD_TARGA_H_ |
6 |
> |
#define _RAD_TARGA_H_ |
7 |
> |
#ifdef __cplusplus |
8 |
> |
extern "C" { |
9 |
> |
#endif |
10 |
> |
|
11 |
|
/* header structure adapted from tardev.h */ |
12 |
|
struct hdStruct { |
13 |
|
char textSize; /* size of info. line ( < 256) */ |
37 |
|
#define CM_HASMAP 1 /* has color map */ |
38 |
|
|
39 |
|
#define bits_bytes(n) (((n)+7)>>3) /* number of bits to number of bytes */ |
40 |
+ |
|
41 |
+ |
|
42 |
+ |
#ifdef __cplusplus |
43 |
+ |
} |
44 |
+ |
#endif |
45 |
+ |
#endif /* _RAD_TARGA_H_ */ |