MCPcopy Create free account
hub / github.com/TASEmulators/fceux / lua_pushboolean

Function lua_pushboolean

src/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

emu_pausedFunction · 0.85
emu_addgamegenieFunction · 0.85
emu_delgamegenieFunction · 0.85
input_getFunction · 0.85
joy_get_internalFunction · 0.85
joypad_getimmediateFunction · 0.85
emu_laggedFunction · 0.85
emu_emulatingFunction · 0.85
movie_isactiveFunction · 0.85
movie_isrecordingFunction · 0.85
movie_isplayingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected