Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ bit_tobit
Function
bit_tobit
deps/lua/src/lua_bit.c:96–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
#define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1;
95
96
static int bit_tobit(lua_State *L) { BRET(barg(L, 1)) }
97
static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) }
98
99
#define BIT_OP(func, opr) \
Callers
nothing calls this directly
Calls
1
barg
Function · 0.85
Tested by
no test coverage detected