MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / _unDoubleQuote

Function _unDoubleQuote

engine/source/platformAndroid/AndroidPlatform.cpp:94–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92};
93
94static char* _unDoubleQuote(char* arg)
95{
96 U32 len = dStrlen(arg);
97 if(!len)
98 return arg;
99
100 if(arg[0] == '"' && arg[len-1] == '"')
101 {
102 arg[len - 1] = '\0';
103 return arg + 1;
104 }
105 return arg;
106}
107
108void ExecuteThread::run(void* arg)
109{

Callers

nothing calls this directly

Calls 1

dStrlenFunction · 0.70

Tested by

no test coverage detected