| 52 | } |
| 53 | |
| 54 | bool matchStringS(const char **input, const char *str) { |
| 55 | const char *cur = *input; |
| 56 | while (*cur && *str && *cur == *str) |
| 57 | ++cur, ++str; |
| 58 | if (!*str) { |
| 59 | *input = cur; |
| 60 | return true; |
| 61 | } |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | static bool writeCoord(FILE *output, Point2 coord) { |
| 66 | fprintf(output, "%.12g, %.12g", coord.x, coord.y); |
no outgoing calls
no test coverage detected