MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_pushboolean

Function lua_pushboolean

other_src/lua/src/lapi.cpp:535–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533
534
535LUA_API void lua_pushboolean (lua_State *L, int b) {
536 lua_lock(L);
537 setbvalue(L->top, (b != 0)); /* ensure that true is 1 */
538 api_incr_top(L);
539 lua_unlock(L);
540}
541
542
543LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

os_pushresultFunction · 0.70
setboolfieldFunction · 0.70
treadonlyFunction · 0.70
ll_requireFunction · 0.70
pushresultFunction · 0.70
aux_linesFunction · 0.70
db_setmetatableFunction · 0.70
luaB_rawequalFunction · 0.70
luaB_collectgarbageFunction · 0.70
luaB_pcallFunction · 0.70
luaB_xpcallFunction · 0.70
luaB_newproxyFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestAccessMethod · 0.40