MCPcopy Create free account
hub / github.com/MyGUI/mygui / matchStringS

Function matchStringS

MyGUIEngine/src/msdfgen/core/shape-description.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool 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
65static bool writeCoord(FILE *output, Point2 coord) {
66 fprintf(output, "%.12g, %.12g", coord.x, coord.y);

Callers 1

readShapeDescriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected