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

Function parseUnsignedLL

MyGUIEngine/src/msdfgen/main.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82static bool parseUnsignedLL(unsigned long long &value, const char *arg) {
83 if (*arg >= '0' && *arg <= '9') {
84 value = 0;
85 do {
86 value = 10*value+(*arg++-'0');
87 } while (*arg >= '0' && *arg <= '9');
88 return !*arg;
89}
90 return false;
91}
92
93static bool parseDouble(double &value, const char *arg) {
94 char *end = NULL;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected