Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GarageGames/Torque2D
/ dStrnew
Function
dStrnew
engine/source/platformAndroid/AndroidStrings.cpp:40–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
char *dStrnew(const char *src)
41
{
42
char *buffer = new char[dStrlen(src) + 1];
43
dStrcpy(buffer, src);
44
return buffer;
45
}
46
47
char* dStrcat(char *dst, const char *src)
48
{
Callers
nothing calls this directly
Calls
2
dStrlen
Function · 0.70
dStrcpy
Function · 0.70
Tested by
no test coverage detected