| 7546 | } |
| 7547 | |
| 7548 | static void stbi__pnm_skip_whitespace(stbi__context *s, char *c) |
| 7549 | { |
| 7550 | for (;;) { |
| 7551 | while (!stbi__at_eof(s) && stbi__pnm_isspace(*c)) |
| 7552 | *c = (char) stbi__get8(s); |
| 7553 | |
| 7554 | if (stbi__at_eof(s) || *c != '#') |
| 7555 | break; |
| 7556 | |
| 7557 | while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' ) |
| 7558 | *c = (char) stbi__get8(s); |
| 7559 | } |
| 7560 | } |
| 7561 | |
| 7562 | static int stbi__pnm_isdigit(char c) |
| 7563 | { |
no test coverage detected