| 121 | } |
| 122 | |
| 123 | TCHAR* SU::DupString(const TCHAR* string) { |
| 124 | if (!string) |
| 125 | return NULL; |
| 126 | |
| 127 | int size = lstrlen(string) + 1; |
| 128 | TCHAR * newstring = new TCHAR[size]; |
| 129 | lstrcpy(newstring, string); |
| 130 | return newstring; |
| 131 | } |
| 132 | |
| 133 | char * SU::strdup(const char* string) { |
| 134 | if (!string) |
nothing calls this directly
no outgoing calls
no test coverage detected