MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_pushboolean

Function lua_pushboolean

3rd/lua-5.4.3/src/lapi.c:599–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597
598
599LUA_API void lua_pushboolean (lua_State *L, int b) {
600 lua_lock(L);
601 if (b)
602 setbtvalue(s2v(L->top));
603 else
604 setbfvalue(s2v(L->top));
605 api_incr_top(L);
606 lua_unlock(L);
607}
608
609
610LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

formatFunction · 0.85
range_formatFunction · 0.85
type_formatFunction · 0.85
update_configFunction · 0.85
diagnose_fileFunction · 0.85
set_default_configFunction · 0.85
set_nonstandard_symbolFunction · 0.85
spell_analysisFunction · 0.85
update_name_style_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected