MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / hexval

Function hexval

Sources/Dependencies/ixwebsocket/IXNetSystem.cpp:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363
364#if defined(_WIN32) && defined(__GNUC__)
365 static int hexval(unsigned c)
366 {
367 if (c - '0' < 10) return c - '0';
368 c |= 32;
369 if (c - 'a' < 6) return c - 'a' + 10;
370 return -1;
371 }
372#endif
373
374 //

Callers 1

inet_ptonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected