| 15 |
|
extern "C" { |
| 16 |
|
#endif |
| 17 |
|
|
| 18 |
< |
/* Data types for file loading */ |
| 19 |
< |
enum {DTfromHeader=0, DTrgbe, DTxyze, DTfloat, DTascii, DTdouble, DTend}; |
| 18 |
> |
/* Data types for file loading (used to be an enum) */ |
| 19 |
> |
#define DTfromHeader 0 |
| 20 |
> |
#define DTrgbe 1 |
| 21 |
> |
#define DTxyze 2 |
| 22 |
> |
#define DTspec 3 |
| 23 |
> |
#define DTfloat 4 |
| 24 |
> |
#define DTascii 5 |
| 25 |
> |
#define DTdouble 6 |
| 26 |
> |
#define DTend 7 |
| 27 |
|
|
| 28 |
+ |
/* Defined in cmconst.c */ |
| 29 |
|
extern const char stdin_name[]; |
| 30 |
|
extern const char *cm_fmt_id[]; |
| 31 |
|
extern const int cm_elem_size[]; |