- Functions luaK_goiffalse, luaS_hash made private.
- Removed unused macro log2maxs.
This commit is contained in:
Roberto I
2025-10-14 13:50:24 -03:00
parent 30a7b93439
commit 9c66903cc5
5 changed files with 2 additions and 11 deletions

View File

@@ -59,13 +59,6 @@ typedef lu_byte TStatus;
#define MAX_SIZE (sizeof(size_t) < sizeof(lua_Integer) ? MAX_SIZET \
: cast_sizet(LUA_MAXINTEGER))
/*
** floor of the log2 of the maximum signed value for integral type 't'.
** (That is, maximum 'n' such that '2^n' fits in the given signed type.)
*/
#define log2maxs(t) (l_numbits(t) - 2)
/*
** test whether an unsigned value is a power of 2 (or zero)
*/