| 373 | //---------------- |
| 374 | |
| 375 | static CScriptString *AddStringUInt(const CScriptString &str, unsigned int i) |
| 376 | { |
| 377 | char buf[100]; |
| 378 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 379 | sprintf_s(buf, 100, "%u", i); |
| 380 | #else |
| 381 | sprintf(buf, "%u", i); |
| 382 | #endif |
| 383 | return new CScriptString(str.buffer + buf); |
| 384 | } |
| 385 | |
| 386 | static void AddStringUInt_Generic(asIScriptGeneric *gen) |
| 387 | { |
no outgoing calls
no test coverage detected