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

Function getStringArg

Engine/source/console/compiledEval.cpp:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 }
218
219 char *getStringArg( const char *arg )
220 {
221 U32 len = dStrlen( arg ) + 1;
222 char *ret = STR.getArgBuffer( len );
223 dMemcpy( ret, arg, len );
224 return ret;
225 }
226
227 char* getStringArg( const String& arg )
228 {

Callers 1

Calls 5

getArgBufferMethod · 0.80
dStrlenFunction · 0.50
dMemcpyFunction · 0.50
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected