MCPcopy 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
96static int bit_tobit(lua_State *L) { BRET(barg(L, 1)) }
97static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) }
98
99#define BIT_OP(func, opr) \

Callers

nothing calls this directly

Calls 1

bargFunction · 0.85

Tested by

no test coverage detected