| 102 | */ |
| 103 | |
| 104 | static void setfield (lua_State *L, const char *key, int value) { |
| 105 | lua_pushinteger(L, value); |
| 106 | lua_setfield(L, -2, key); |
| 107 | } |
| 108 | |
| 109 | static void setboolfield (lua_State *L, const char *key, int value) { |
| 110 | if (value < 0) /* undefined? */ |
no test coverage detected