MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_pushboolean

Function lua_pushboolean

Source/Misc/lua/src/lua.c:2352–2357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2350
2351
2352LUA_API void lua_pushboolean (lua_State *L, int b) {
2353lua_lock(L);
2354setbvalue(L->top, (b != 0)); /* ensure that true is 1 */
2355api_incr_top(L);
2356lua_unlock(L);
2357}
2358
2359
2360LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {

Callers 15

usb.cFile · 0.85
dispatch_operatorFunction · 0.85
push_instance_metatableFunction · 0.85
toMethod · 0.85
luaB_rawequalFunction · 0.85
luaB_collectgarbageFunction · 0.85
luaB_pcallFunction · 0.85
luaB_xpcallFunction · 0.85
luaB_newproxyFunction · 0.85
luaB_coresumeFunction · 0.85
db_setmetatableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected