| 472 | //---------------- |
| 473 | |
| 474 | static CScriptString *AddIntString(int i, const CScriptString &str) |
| 475 | { |
| 476 | char buf[100]; |
| 477 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 478 | sprintf_s(buf, 100, "%d", i); |
| 479 | #else |
| 480 | sprintf(buf, "%d", i); |
| 481 | #endif |
| 482 | return new CScriptString(buf + str.buffer); |
| 483 | } |
| 484 | |
| 485 | static void AddIntString_Generic(asIScriptGeneric *gen) |
| 486 | { |
no outgoing calls
no test coverage detected