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

Function charConv

Engine/source/console/CMDscan.cpp:2285–2298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

collapseEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected