Details
- Functions luaK_goiffalse, luaS_hash made private. - Removed unused macro log2maxs.
This commit is contained in:
@@ -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)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user