| 359 | } |
| 360 | |
| 361 | static int json_destroy_config(lua_State *l) |
| 362 | { |
| 363 | json_config_t *cfg; |
| 364 | |
| 365 | cfg = lua_touserdata(l, 1); |
| 366 | if (cfg) |
| 367 | strbuf_free(&cfg->encode_buf); |
| 368 | cfg = NULL; |
| 369 | |
| 370 | return 0; |
| 371 | } |
| 372 | |
| 373 | static void json_create_config(lua_State *l) |
| 374 | { |
nothing calls this directly
no test coverage detected