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