aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-27 12:38:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-27 12:38:29 -0300
commitef5d171cc89b19ac1fea905b99d819b5f97cba00 (patch)
treebdc900455d00c0e8cfdcbb64993842a502fc9e21 /ltable.c
parentb0f3df16a495745cf16657a48dde6845ec85c732 (diff)
downloadlua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.tar.gz
lua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.tar.bz2
lua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.zip
New macro 'l_numbits'
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltable.c b/ltable.c
index 8df9a4fb..0b3ec176 100644
--- a/ltable.c
+++ b/ltable.c
@@ -67,7 +67,7 @@ typedef union {
67** MAXABITS is the largest integer such that 2^MAXABITS fits in an 67** MAXABITS is the largest integer such that 2^MAXABITS fits in an
68** unsigned int. 68** unsigned int.
69*/ 69*/
70#define MAXABITS cast_int(sizeof(int) * CHAR_BIT - 1) 70#define MAXABITS (l_numbits(int) - 1)
71 71
72 72
73/* 73/*