| 491 | } |
| 492 | |
| 493 | static CScriptString *AddUIntString(unsigned int i, const CScriptString &str) |
| 494 | { |
| 495 | char buf[100]; |
| 496 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 497 | sprintf_s(buf, 100, "%u", i); |
| 498 | #else |
| 499 | sprintf(buf, "%u", i); |
| 500 | #endif |
| 501 | return new CScriptString(buf + str.buffer); |
| 502 | } |
| 503 | |
| 504 | static void AddUIntString_Generic(asIScriptGeneric *gen) |
| 505 | { |
no outgoing calls
no test coverage detected