diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-23 17:24:19 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-23 17:24:19 -0200 |
| commit | 541e722360168c78a61b8b79f4cd234252ffb6cb (patch) | |
| tree | f80a9749f7acd50ee2806bc592140a6e5e97376a /lobject.h | |
| parent | 807ba6301c949cb42bd9390d737938c51dd5784c (diff) | |
| download | lua-541e722360168c78a61b8b79f4cd234252ffb6cb.tar.gz lua-541e722360168c78a61b8b79f4cd234252ffb6cb.tar.bz2 lua-541e722360168c78a61b8b79f4cd234252ffb6cb.zip | |
details
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.10 1997/11/27 18:25:06 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.11 1997/12/15 16:17:20 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 | */ |
| @@ -13,10 +13,16 @@ | |||
| 13 | 13 | ||
| 14 | #include <limits.h> | 14 | #include <limits.h> |
| 15 | 15 | ||
| 16 | |||
| 17 | /* | ||
| 18 | ** "real" is the type "number" of Lua | ||
| 19 | ** GREP LUA_NUMBER to change that | ||
| 20 | */ | ||
| 16 | #ifndef real | 21 | #ifndef real |
| 17 | #define real float | 22 | #define real float |
| 18 | #endif | 23 | #endif |
| 19 | 24 | ||
| 25 | |||
| 20 | #define Byte lua_Byte /* some systems have Byte as a predefined type */ | 26 | #define Byte lua_Byte /* some systems have Byte as a predefined type */ |
| 21 | typedef unsigned char Byte; /* unsigned 8 bits */ | 27 | typedef unsigned char Byte; /* unsigned 8 bits */ |
| 22 | 28 | ||
