MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / getboolfield

Function getboolfield

third-party/lua-5.2.4/src/loslib.c:148–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static int getboolfield (lua_State *L, const char *key) {
149 int res;
150 lua_getfield(L, -1, key);
151 res = lua_isnil(L, -1) ? -1 : lua_toboolean(L, -1);
152 lua_pop(L, 1);
153 return res;
154}
155
156
157static int getfield (lua_State *L, const char *key, int d) {

Callers 1

os_timeFunction · 0.70

Calls 2

lua_getfieldFunction · 0.70
lua_tobooleanFunction · 0.70

Tested by

no test coverage detected