MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / b_or

Function b_or

third-party/lua-5.2.4/src/lbitlib.c:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59static int b_or (lua_State *L) {
60 int i, n = lua_gettop(L);
61 b_uint r = 0;
62 for (i = 1; i <= n; i++)
63 r |= luaL_checkunsigned(L, i);
64 lua_pushunsigned(L, trim(r));
65 return 1;
66}
67
68
69static int b_xor (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checkunsignedFunction · 0.85
lua_pushunsignedFunction · 0.85
lua_gettopFunction · 0.70

Tested by

no test coverage detected