| 1414 | } |
| 1415 | |
| 1416 | static void toml_trim(const char *data, size_t *start, size_t *end) { |
| 1417 | while (*start < *end && (data[*start] == ' ' || data[*start] == '\t')) { |
| 1418 | ++*start; |
| 1419 | } |
| 1420 | while (*end > *start && (data[*end - 1] == ' ' || data[*end - 1] == '\t')) { |
| 1421 | --*end; |
| 1422 | } |
| 1423 | } |
| 1424 | |
| 1425 | static int toml_parse_header(const char *data, const toml_line_t *line, const char *target_name, |
| 1426 | toml_header_t *header) { |
no outgoing calls
no test coverage detected