diff options
Diffstat (limited to '')
| -rw-r--r-- | luaconf.h | 15 |
1 files changed, 12 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.213 2014/08/01 17:33:08 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.214 2014/10/01 11:54:56 roberto Exp roberto $ |
| 3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -29,11 +29,20 @@ | |||
| 29 | ** These definitions set the numeric types for Lua. Lua should work | 29 | ** These definitions set the numeric types for Lua. Lua should work |
| 30 | ** fine with any mix of these previous options. | 30 | ** fine with any mix of these previous options. |
| 31 | ** The usual configurations are 64-bit integers and floats (the default) | 31 | ** The usual configurations are 64-bit integers and floats (the default) |
| 32 | ** and 32-bit integers and floats (Small Lua, for restricted hardware). | 32 | ** and 32-bit integers and floats (Lua 32, for restricted hardware). |
| 33 | ** ===================================================================== | 33 | ** ===================================================================== |
| 34 | */ | 34 | */ |
| 35 | |||
| 36 | /* just uncomment the next line for Lua 32 */ | ||
| 37 | /* #define LUA_32 */ | ||
| 38 | |||
| 39 | #if !defined(LUA_32) | ||
| 35 | #define LUA_INT_LONGLONG | 40 | #define LUA_INT_LONGLONG |
| 36 | #define LUA_REAL_DOUBLE | 41 | #define LUA_REAL_DOUBLE |
| 42 | #else /* Lua 32 bits */ | ||
| 43 | #define LUA_INT_LONG | ||
| 44 | #define LUA_REAL_FLOAT | ||
| 45 | #endif | ||
| 37 | 46 | ||
| 38 | 47 | ||
| 39 | /* | 48 | /* |
| @@ -306,7 +315,7 @@ | |||
| 306 | #define LUA_COMPAT_BITLIB | 315 | #define LUA_COMPAT_BITLIB |
| 307 | 316 | ||
| 308 | /* | 317 | /* |
| 309 | @@ LUA_COMPAT_IPAIRS controls the effectivnness of the __ipairs metamethod. | 318 | @@ LUA_COMPAT_IPAIRS controls the effectiveness of the __ipairs metamethod. |
| 310 | */ | 319 | */ |
| 311 | #define LUA_COMPAT_IPAIRS | 320 | #define LUA_COMPAT_IPAIRS |
| 312 | 321 | ||
