| 392 | } |
| 393 | |
| 394 | static CScriptString *AddStringInt(const CScriptString &str, int i) |
| 395 | { |
| 396 | char buf[100]; |
| 397 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 398 | sprintf_s(buf, 100, "%d", i); |
| 399 | #else |
| 400 | sprintf(buf, "%d", i); |
| 401 | #endif |
| 402 | return new CScriptString(str.buffer + buf); |
| 403 | } |
| 404 | |
| 405 | static void AddStringInt_Generic(asIScriptGeneric *gen) |
| 406 | { |
no outgoing calls
no test coverage detected