MCPcopy Create free account
hub / github.com/assaultcube/AC / exchangestr

Function exchangestr

source/src/command.cpp:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#endif
19
20char *exchangestr(char *o, const char *n) { delete[] o; return newstring(n); }
21
22vector<const char *> executionstack; // keep history of recursive command execution (to write to log in case of a crash)
23char *commandret = NULL;

Callers 9

setsvarFunction · 0.85
lookupFunction · 0.85
executeretFunction · 0.85
modifyvarFunction · 0.85
modifyfvarFunction · 0.85
entities.cppFile · 0.85
setmapinfoFunction · 0.85
clientgame.cppFile · 0.85
console.cppFile · 0.85

Calls 1

newstringFunction · 0.85

Tested by

no test coverage detected