diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-05-24 16:48:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-05-24 16:48:09 -0300 |
commit | 1e6918d553e0d76148f7de0af63fdce326e049b8 (patch) | |
tree | 0f20249f37a4d36b0c4b21e2dc629cb0ab722faa /luaconf.h | |
parent | 681297187ec45268e872b26753c441586c12bdd8 (diff) | |
download | lua-1e6918d553e0d76148f7de0af63fdce326e049b8.tar.gz lua-1e6918d553e0d76148f7de0af63fdce326e049b8.tar.bz2 lua-1e6918d553e0d76148f7de0af63fdce326e049b8.zip |
Details
- Removed unused (and trivial) definition LUA_UNSIGNEDBITS
- Alignment structure in pack/unpack moved to a narrower scope
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -485,7 +485,6 @@ | |||
485 | @@ LUA_MAXINTEGER is the maximum value for a LUA_INTEGER. | 485 | @@ LUA_MAXINTEGER is the maximum value for a LUA_INTEGER. |
486 | @@ LUA_MININTEGER is the minimum value for a LUA_INTEGER. | 486 | @@ LUA_MININTEGER is the minimum value for a LUA_INTEGER. |
487 | @@ LUA_MAXUNSIGNED is the maximum value for a LUA_UNSIGNED. | 487 | @@ LUA_MAXUNSIGNED is the maximum value for a LUA_UNSIGNED. |
488 | @@ LUA_UNSIGNEDBITS is the number of bits in a LUA_UNSIGNED. | ||
489 | @@ lua_integer2str converts an integer to a string. | 488 | @@ lua_integer2str converts an integer to a string. |
490 | */ | 489 | */ |
491 | 490 | ||
@@ -506,9 +505,6 @@ | |||
506 | #define LUA_UNSIGNED unsigned LUAI_UACINT | 505 | #define LUA_UNSIGNED unsigned LUAI_UACINT |
507 | 506 | ||
508 | 507 | ||
509 | #define LUA_UNSIGNEDBITS (sizeof(LUA_UNSIGNED) * CHAR_BIT) | ||
510 | |||
511 | |||
512 | /* now the variable definitions */ | 508 | /* now the variable definitions */ |
513 | 509 | ||
514 | #if LUA_INT_TYPE == LUA_INT_INT /* { int */ | 510 | #if LUA_INT_TYPE == LUA_INT_INT /* { int */ |