MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / b_or

Function b_or

src/Chain/libraries/glua/lbitlib.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70
71static int b_or(lua_State *L) {
72 int i, n = lua_gettop(L);
73 lua_Unsigned r = 0;
74 for (i = 1; i <= n; i++)
75 r |= checkunsigned(L, i);
76 pushunsigned(L, trim(r));
77 return 1;
78}
79
80
81static int b_xor(lua_State *L) {

Callers

nothing calls this directly

Calls 2

lua_gettopFunction · 0.85
trimFunction · 0.50

Tested by

no test coverage detected