diff options
| -rw-r--r-- | luaconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.266 2018/03/02 18:31:51 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.267 2018/03/09 14:56:02 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 | */ |
| @@ -447,6 +447,7 @@ | |||
| 447 | @@ LUA_MAXINTEGER is the maximum value for a LUA_INTEGER. | 447 | @@ LUA_MAXINTEGER is the maximum value for a LUA_INTEGER. |
| 448 | @@ LUA_MININTEGER is the minimum value for a LUA_INTEGER. | 448 | @@ LUA_MININTEGER is the minimum value for a LUA_INTEGER. |
| 449 | @@ LUA_MAXUNSIGNED is the maximum value for a LUA_UNSIGNED. | 449 | @@ LUA_MAXUNSIGNED is the maximum value for a LUA_UNSIGNED. |
| 450 | @@ LUA_UNSIGNEDBITS is the number of bits in a LUA_UNSIGNED. | ||
| 450 | @@ lua_integer2str converts an integer to a string. | 451 | @@ lua_integer2str converts an integer to a string. |
| 451 | */ | 452 | */ |
| 452 | 453 | ||
| @@ -468,6 +469,8 @@ | |||
| 468 | 469 | ||
| 469 | #define LUA_MAXUNSIGNED (~(lua_Unsigned)0) | 470 | #define LUA_MAXUNSIGNED (~(lua_Unsigned)0) |
| 470 | 471 | ||
| 472 | #define LUA_UNSIGNEDBITS (sizeof(LUA_UNSIGNED) * CHAR_BIT) | ||
| 473 | |||
| 471 | 474 | ||
| 472 | /* now the variable definitions */ | 475 | /* now the variable definitions */ |
| 473 | 476 | ||
