mirror of https://github.com/lua/lua.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
475 B
26 lines
475 B
30 years ago
|
/*
|
||
|
** TeCGraf - PUC-Rio
|
||
|
** $Id: $
|
||
|
*/
|
||
|
|
||
|
#ifndef types_h
|
||
|
#define types_h
|
||
|
|
||
|
#ifndef real
|
||
|
#define real float
|
||
|
#endif
|
||
|
|
||
|
typedef int Bool; /* boolean values */
|
||
|
|
||
|
typedef unsigned char Byte; /* unsigned 8 bits */
|
||
|
|
||
|
typedef unsigned short Word; /* unsigned 16 bits */
|
||
|
|
||
|
#define MAX_WORD 0xFFFD /* maximum value of a word (FFFF-2 for safety) */
|
||
|
|
||
|
typedef signed long Long; /* 32 bits */
|
||
|
|
||
|
typedef unsigned int IntPoint; /* unsigned with same size as a pointer (for hashing) */
|
||
|
|
||
|
#endif
|