MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_pushboolean

Function lua_pushboolean

third-party/lua-5.3.5/src/lapi.c:557–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556
557LUA_API void lua_pushboolean (lua_State *L, int b) {
558 lua_lock(L);
559 setbvalue(L->top, (b != 0)); /* ensure that true is 1 */
560 api_incr_top(L);
561 lua_unlock(L);
562}
563
564
565LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

pmainFunction · 0.70
luaB_rawequalFunction · 0.70
luaB_collectgarbageFunction · 0.70
finishpcallFunction · 0.70
luaB_pcallFunction · 0.70
luaB_xpcallFunction · 0.70
math_ultFunction · 0.70
luaL_fileresultFunction · 0.70
luaL_execresultFunction · 0.70
luaB_coresumeFunction · 0.70
luaB_yieldableFunction · 0.70
luaB_corunningFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected