MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_pushboolean

Function lua_pushboolean

extlibs/lua/src/lapi.c:575–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573
574
575LUA_API void lua_pushboolean (lua_State *L, int b) {
576 lua_lock(L);
577 if (b)
578 setbtvalue(s2v(L->top));
579 else
580 setbfvalue(s2v(L->top));
581 api_incr_top(L);
582 lua_unlock(L);
583}
584
585
586LUA_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