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

Function getStringArg

Engine/source/console/compiledEval.cpp:363–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 char *getStringArg(const char *arg)
364 {
365 U32 len = dStrlen(arg) + 1;
366 char *ret = STR.getArgBuffer(len);
367 dMemcpy(ret, arg, len);
368 return ret;
369 }
370
371 char* getStringArg(const String& arg)
372 {

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