| 243 | |
| 244 | |
| 245 | static int getboolfield (lua_State *L, const char *key) { |
| 246 | int res; |
| 247 | res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); |
| 248 | lua_pop(L, 1); |
| 249 | return res; |
| 250 | } |
| 251 | |
| 252 | |
| 253 | static int getfield (lua_State *L, const char *key, int d, int delta) { |
no test coverage detected