MCPcopy Create free account
hub / github.com/danomatika/ofxLua / lua_pushboolean

Function lua_pushboolean

libs/lua/lapi.c:605–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604
605LUA_API void lua_pushboolean (lua_State *L, int b) {
606 lua_lock(L);
607 if (b)
608 setbtvalue(s2v(L->top.p));
609 else
610 setbfvalue(s2v(L->top.p));
611 api_incr_top(L);
612 lua_unlock(L);
613}
614
615
616LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

settype<bool>Method · 0.85
SWIG_Lua_class_equalFunction · 0.85
_wrap_string_emptyFunction · 0.85
_wrap_vec2___eqFunction · 0.85
_wrap_eq__SWIG_0Function · 0.85
_wrap_vec3___eqFunction · 0.85
_wrap_eq__SWIG_1Function · 0.85
_wrap_vec4___eqFunction · 0.85
_wrap_eq__SWIG_2Function · 0.85
_wrap_mat3___eqFunction · 0.85
_wrap_eq__SWIG_3Function · 0.85
_wrap_mat4___eqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected