| 1 |
/* |
| 2 |
* types.h |
| 3 |
* |
| 4 |
* Written by: Ullrich Hafner |
| 5 |
* |
| 6 |
* This file is part of FIASCO (Fractal Image And Sequence COdec) |
| 7 |
* Copyright (C) 1994-2000 Ullrich Hafner |
| 8 |
*/ |
| 9 |
|
| 10 |
/* |
| 11 |
* $Date: 2000/06/14 20:49:37 $ |
| 12 |
* $Author: hafner $ |
| 13 |
* $Revision: 5.1 $ |
| 14 |
* $State: Exp $ |
| 15 |
*/ |
| 16 |
|
| 17 |
#ifndef _FIASCO_TYPES_H |
| 18 |
#define _FIASCO_TYPES_H |
| 19 |
|
| 20 |
#undef FALSE |
| 21 |
#undef NO |
| 22 |
#undef TRUE |
| 23 |
#undef YES |
| 24 |
|
| 25 |
enum fiasco_boolean { NO = 0, FALSE = 0, YES = 1, TRUE = 1}; |
| 26 |
|
| 27 |
typedef float real_t; |
| 28 |
typedef enum fiasco_boolean bool_t; |
| 29 |
typedef unsigned char byte_t; |
| 30 |
typedef short word_t; |
| 31 |
typedef unsigned short u_word_t; |
| 32 |
typedef struct pair |
| 33 |
{ |
| 34 |
word_t key; |
| 35 |
word_t value; |
| 36 |
} pair_t; |
| 37 |
|
| 38 |
#endif |