| 67 | |
| 68 | |
| 69 | static 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 | |
| 79 | static int b_not (lua_State *L) { |
nothing calls this directly
no test coverage detected