diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-03-27 12:38:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-03-27 12:38:29 -0300 |
| commit | ef5d171cc89b19ac1fea905b99d819b5f97cba00 (patch) | |
| tree | bdc900455d00c0e8cfdcbb64993842a502fc9e21 /ltable.c | |
| parent | b0f3df16a495745cf16657a48dde6845ec85c732 (diff) | |
| download | lua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.tar.gz lua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.tar.bz2 lua-ef5d171cc89b19ac1fea905b99d819b5f97cba00.zip | |
New macro 'l_numbits'
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | /* |
