MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_pushboolean

Function lua_pushboolean

src/Chain/libraries/glua/lapi.cpp:559–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_coresumeFunction · 0.85
luaB_yieldableFunction · 0.85
luaB_corunningFunction · 0.85
os_executeFunction · 0.85
setboolfieldFunction · 0.85
lookforfuncFunction · 0.85
b_testFunction · 0.85
lua_push_storage_valueFunction · 0.85
aux_linesFunction · 0.85
luaL_fileresultFunction · 0.85
luaL_execresultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected