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

Function parseUnsigned

MyGUIEngine/src/msdfgen/main.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66static bool parseUnsigned(unsigned &value, const char *arg) {
67 char *end = NULL;
68 value = (unsigned) strtoul(arg, &end, 10);
69 return end > arg && !*end;
70}
71
72static bool parseUnsignedDecOrHex(unsigned &value, const char *arg) {
73 char *end = NULL;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected