aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-05-24 16:48:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-05-24 16:48:09 -0300
commit1e6918d553e0d76148f7de0af63fdce326e049b8 (patch)
tree0f20249f37a4d36b0c4b21e2dc629cb0ab722faa /luaconf.h
parent681297187ec45268e872b26753c441586c12bdd8 (diff)
downloadlua-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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/luaconf.h b/luaconf.h
index e64d2ee3..d42d14b7 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -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 */