Searched refs:BRET (Results 1 – 1 of 1) sorted by relevance
94 #define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1; macro96 static int bit_tobit(lua_State *L) { BRET(barg(L, 1)) } in bit_tobit()97 static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) } in bit_bnot()101 for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }113 UBits b = barg(L, 1); UBits n = barg(L, 2) & 31; BRET(fn(b, n)) }124 BRET(b) in BIT_SH()