| 1974 | } |
| 1975 | |
| 1976 | static int toml_lines_significant(const char *data, size_t start, size_t end) { |
| 1977 | size_t cursor = start; |
| 1978 | toml_line_t line; |
| 1979 | while (toml_next_line(data, end, &cursor, &line)) { |
| 1980 | if (!toml_line_is_blank_or_comment(data, &line)) { |
| 1981 | return 1; |
| 1982 | } |
| 1983 | } |
| 1984 | return 0; |
| 1985 | } |
| 1986 | |
| 1987 | /* Declared table `table` (1-based) of the block, or the number of declared |
| 1988 | * tables in *count when table is 0. */ |
no test coverage detected