| 13525 | } |
| 13526 | |
| 13527 | static void setboolfield (lua_State *L, const char *key, int value) { |
| 13528 | if (value < 0) /* undefined? */ |
| 13529 | return; /* does not set field */ |
| 13530 | lua_pushboolean(L, value); |
| 13531 | lua_setfield(L, -2, key); |
| 13532 | } |
| 13533 | |
| 13534 | static int getboolfield (lua_State *L, const char *key) { |
| 13535 | int res; |
no test coverage detected