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

Function lua_pushboolean

lib/lua/src/lapi.c:503–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501
502
503LUA_API void lua_pushboolean (lua_State *L, int b) {
504 lua_lock(L);
505 setbvalue(L->top, (b != 0)); /* ensure that true is 1 */
506 api_incr_top(L);
507 lua_unlock(L);
508}
509
510
511LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

tolua_pushbooleanFunction · 0.85
tolua_pushfieldbooleanFunction · 0.85
mapsuperFunction · 0.85
tolua_bnd_takeownershipFunction · 0.85
tolua_openFunction · 0.85
class_eq_eventFunction · 0.85
f_StartDoctypeDeclFunction · 0.85
parse_auxFunction · 0.85
lxp_stopFunction · 0.85
dbvm_isopenFunction · 0.85
db_isopenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected