MCPcopy Create free account
hub / github.com/Tencent/xLua / lua_pushboolean

Function lua_pushboolean

WebGLPlugins/lapi.c:556–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

pmainFunction · 0.85
luaB_rawequalFunction · 0.85
luaB_collectgarbageFunction · 0.85
finishpcallFunction · 0.85
luaB_pcallFunction · 0.85
luaB_xpcallFunction · 0.85
math_ultFunction · 0.85
csharp_function_wrapFunction · 0.85
xlua_push_csharp_wrapperFunction · 0.85
xlua_csharp_str_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected