See documentation in header file. */
| 235 | |
| 236 | /* See documentation in header file. */ |
| 237 | int ini_parse_string(const char* string, ini_handler handler, void* user) { |
| 238 | ini_parse_string_ctx ctx; |
| 239 | |
| 240 | ctx.ptr = string; |
| 241 | ctx.num_left = strlen(string); |
| 242 | return ini_parse_stream((ini_reader)ini_reader_string, &ctx, handler, |
| 243 | user); |
| 244 | } |
nothing calls this directly
no test coverage detected