diff options
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/types.h b/types.h deleted file mode 100644 index 3719f41d..00000000 --- a/types.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* | ||
| 2 | ** TeCGraf - PUC-Rio | ||
| 3 | ** $Id: types.h,v 1.3 1995/02/06 19:32:43 roberto Exp roberto $ | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef types_h | ||
| 7 | #define types_h | ||
| 8 | |||
| 9 | #include <limits.h> | ||
| 10 | |||
| 11 | #ifndef real | ||
| 12 | #define real float | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define Byte lua_Byte /* some systems have Byte as a predefined type */ | ||
| 16 | typedef unsigned char Byte; /* unsigned 8 bits */ | ||
| 17 | |||
| 18 | #define Word lua_Word /* some systems have Word as a predefined type */ | ||
| 19 | typedef unsigned short Word; /* unsigned 16 bits */ | ||
| 20 | |||
| 21 | #define MAX_WORD (USHRT_MAX-2) /* maximum value of a word (-2 for safety) */ | ||
| 22 | #define MAX_INT (INT_MAX-2) /* maximum value of a int (-2 for safety) */ | ||
| 23 | |||
| 24 | #define Long lua_Long /* some systems have Long as a predefined type */ | ||
| 25 | typedef signed long Long; /* 32 bits */ | ||
| 26 | |||
| 27 | typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */ | ||
| 28 | |||
| 29 | #endif | ||
