MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_pushboolean

Function lua_pushboolean

lua/src/lapi.c:609–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607
608
609LUA_API void lua_pushboolean (lua_State *L, int b) {
610 lua_lock(L);
611 if (b)
612 setbtvalue(s2v(L->top));
613 else
614 setbfvalue(s2v(L->top));
615 api_incr_top(L);
616 lua_unlock(L);
617}
618
619
620LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

pmainFunction · 0.85
luaB_rawequalFunction · 0.85
luaB_collectgarbageFunction · 0.85
finishpcallFunction · 0.85
luaB_pcallFunction · 0.85
luaB_xpcallFunction · 0.85
math_ultFunction · 0.85
luaL_fileresultFunction · 0.85
luaL_execresultFunction · 0.85
luaL_setfuncsFunction · 0.85
luaB_coresumeFunction · 0.85
luaB_yieldableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected