MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_pushboolean

Function lua_pushboolean

src/lapi.cpp:691–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689
690
691LUA_API void lua_pushboolean (lua_State *L, int b) {
692 lua_lock(L);
693 if (b)
694 setbtvalue(s2v(L->top.p));
695 else
696 setbfvalue(s2v(L->top.p));
697 api_incr_top(L);
698 lua_unlock(L);
699}
700
701
702LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

http_hasconnectionFunction · 0.85
luaB_coresumeFunction · 0.85
luaB_yieldableFunction · 0.85
luaB_corunningFunction · 0.85
luaB_closeFunction · 0.85
os_executeFunction · 0.85
setboolfieldFunction · 0.85
tisfrozenFunction · 0.85
checkallFunction · 0.85
tdeduplicateFunction · 0.85
tdeduplicatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected