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

Function Sc_ScanString

Engine/source/console/CMDscan.cpp:2338–2349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2336}
2337
2338static int Sc_ScanString(int ret)
2339{
2340 CMDtext[CMDleng - 1] = 0;
2341 if(!collapseEscape(CMDtext+1))
2342 return -1;
2343
2344 char* buffer = ( char* ) consoleAlloc( dStrlen( CMDtext ) );
2345 dStrcpy( buffer, CMDtext + 1 );
2346
2347 CMDlval.str = MakeToken< char* >( buffer, lineIndex );
2348 return ret;
2349}
2350
2351static int Sc_ScanIdent()
2352{

Callers 1

CMDscan.cppFile · 0.85

Calls 4

collapseEscapeFunction · 0.85
consoleAllocFunction · 0.85
dStrcpyFunction · 0.85
dStrlenFunction · 0.50

Tested by

no test coverage detected