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