diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-13 15:57:00 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-13 15:57:00 -0200 |
commit | 0b6cfea005ff719bd7210cd1873e19c7ce4c069b (patch) | |
tree | 069136ecae533adcda3f78f762a6ce89aa8afae9 /luaconf.h | |
parent | c8da3fbc35ea1a7a313f298e98e3829c06a270fb (diff) | |
download | lua-0b6cfea005ff719bd7210cd1873e19c7ce4c069b.tar.gz lua-0b6cfea005ff719bd7210cd1873e19c7ce4c069b.tar.bz2 lua-0b6cfea005ff719bd7210cd1873e19c7ce4c069b.zip |
comments
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.231 2014/12/10 11:56:55 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.232 2014/12/12 11:49:32 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 | */ |
@@ -20,18 +20,18 @@ | |||
20 | 20 | ||
21 | 21 | ||
22 | /* | 22 | /* |
23 | ** {================================================================== | 23 | ** {==================================================================== |
24 | ** System Configuration: macros to adapt (if needed) Lua to some | 24 | ** System Configuration: macros to adapt (if needed) Lua to some |
25 | ** particular platform, for instance compiling it as Small Lua (32 | 25 | ** particular platform, for instance compiling it with 32-bit numbers or |
26 | ** bits) or restricting it to C89. | 26 | ** restricting it to C89. |
27 | ** =================================================================== | 27 | ** ===================================================================== |
28 | */ | 28 | */ |
29 | 29 | ||
30 | /* | 30 | /* |
31 | @@ LUA_32BITS enables Small Lua (that is, Lua with 32-bit integers | 31 | @@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats. You |
32 | ** and 32-bit floats). You can also define LUA_32BITS in the make file, | 32 | ** can also define LUA_32BITS in the make file, but changing here you |
33 | ** but changing here you ensure that all software connected to Lua will | 33 | ** ensure that all software connected to Lua will be compiled with the |
34 | ** be compiled with the same configuration. | 34 | ** same configuration. |
35 | */ | 35 | */ |
36 | /* #define LUA_32BITS */ | 36 | /* #define LUA_32BITS */ |
37 | 37 | ||
@@ -102,8 +102,8 @@ | |||
102 | ** the type for Lua floats. | 102 | ** the type for Lua floats. |
103 | ** Lua should work fine with any mix of these options (if supported | 103 | ** Lua should work fine with any mix of these options (if supported |
104 | ** by your C compiler). The usual configurations are 64-bit integers | 104 | ** by your C compiler). The usual configurations are 64-bit integers |
105 | ** and 'double' (the default), 32-bit integers and 'float' (Small Lua, | 105 | ** and 'double' (the default), 32-bit integers and 'float' (for |
106 | ** for restricted platforms), and 'long'/'double' (for C compilers not | 106 | ** restricted platforms), and 'long'/'double' (for C compilers not |
107 | ** compliant with C99, which may not have support for 'long long'). | 107 | ** compliant with C99, which may not have support for 'long long'). |
108 | */ | 108 | */ |
109 | 109 | ||