diff options
| -rw-r--r-- | lobject.h | 9 |
1 files changed, 1 insertions, 8 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.24 1998/12/27 20:25:20 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.25 1999/01/04 13:37:07 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -41,13 +41,6 @@ typedef unsigned char Byte; /* unsigned 8 bits */ | |||
| 41 | 41 | ||
| 42 | #define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ | 42 | #define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ |
| 43 | 43 | ||
| 44 | /* maximum value of a word of 2 bytes (-2 for safety); must fit in an "int" */ | ||
| 45 | #if MAX_INT < 65534 | ||
| 46 | #define MAX_WORD MAX_INT | ||
| 47 | #else | ||
| 48 | #define MAX_WORD 65534 | ||
| 49 | #endif | ||
| 50 | |||
| 51 | typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */ | 44 | typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */ |
| 52 | 45 | ||
| 53 | 46 | ||
