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

Function b_xor

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

Source from the content-addressed store, hash-verified

67
68
69static int b_xor (lua_State *L) {
70 int i, n = lua_gettop(L);
71 b_uint r = 0;
72 for (i = 1; i <= n; i++)
73 r ^= luaL_checkunsigned(L, i);
74 lua_pushunsigned(L, trim(r));
75 return 1;
76}
77
78
79static int b_not (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