MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getHexDigit

Function getHexDigit

Engine/source/console/CMDscan.cpp:2300–2309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2298}
2299
2300static int getHexDigit(char c)
2301{
2302 if(c >= '0' && c <= '9')
2303 return c - '0';
2304 if(c >= 'A' && c <= 'F')
2305 return c - 'A' + 10;
2306 if(c >= 'a' && c <= 'f')
2307 return c - 'a' + 10;
2308 return -1;
2309}
2310
2311static int Sc_ScanDocBlock()
2312{

Callers 1

collapseEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected