diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-03-09 11:56:02 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-03-09 11:56:02 -0300 |
| commit | 40683b493474199e0d85d5dfcbb8dd6af03e6987 (patch) | |
| tree | a61655ce98ad97c19a4a401db7cf2535dd6354dd | |
| parent | 6480e735998a1dc738d8babc86af154babb3843c (diff) | |
| download | lua-40683b493474199e0d85d5dfcbb8dd6af03e6987.tar.gz lua-40683b493474199e0d85d5dfcbb8dd6af03e6987.tar.bz2 lua-40683b493474199e0d85d5dfcbb8dd6af03e6987.zip | |
added definition for LUA_MAXUNSIGNED
| -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.265 2018/02/27 18:47:32 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.266 2018/03/02 18:31:51 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 | */ |
| @@ -446,6 +446,7 @@ | |||
| 446 | @@ LUA_INTEGER_FMT is the format for writing integers. | 446 | @@ LUA_INTEGER_FMT is the format for writing integers. |
| 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_integer2str converts an integer to a string. | 450 | @@ lua_integer2str converts an integer to a string. |
| 450 | */ | 451 | */ |
| 451 | 452 | ||
| @@ -465,6 +466,8 @@ | |||
| 465 | */ | 466 | */ |
| 466 | #define LUA_UNSIGNED unsigned LUAI_UACINT | 467 | #define LUA_UNSIGNED unsigned LUAI_UACINT |
| 467 | 468 | ||
| 469 | #define LUA_MAXUNSIGNED (~(lua_Unsigned)0) | ||
| 470 | |||
| 468 | 471 | ||
| 469 | /* now the variable definitions */ | 472 | /* now the variable definitions */ |
| 470 | 473 | ||
