New macro 'l_numbits'

This commit is contained in:
Roberto Ierusalimschy
2025-03-27 12:38:29 -03:00
parent b0f3df16a4
commit ef5d171cc8
6 changed files with 9 additions and 15 deletions

2
lvm.c
View File

@@ -774,7 +774,7 @@ lua_Number luaV_modf (lua_State *L, lua_Number m, lua_Number n) {
/* number of bits in an integer */
#define NBITS cast_int(sizeof(lua_Integer) * CHAR_BIT)
#define NBITS l_numbits(lua_Integer)
/*