MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / charConv

Function charConv

Engine/source/console/CMDscan.cpp:2288–2301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2286}
2287
2288static int charConv(int in)
2289{
2290 switch(in)
2291 {
2292 case 'r':
2293 return '\r';
2294 case 'n':
2295 return '\n';
2296 case 't':
2297 return '\t';
2298 default:
2299 return in;
2300 }
2301}
2302
2303static int getHexDigit(char c)
2304{

Callers 1

collapseEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected