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