| 529 | } |
| 530 | |
| 531 | static CScriptString *AddDoubleString(double f, const CScriptString &str) |
| 532 | { |
| 533 | char buf[100]; |
| 534 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 535 | sprintf_s(buf, 100, "%g", f); |
| 536 | #else |
| 537 | sprintf(buf, "%g", f); |
| 538 | #endif |
| 539 | return new CScriptString(buf + str.buffer); |
| 540 | } |
| 541 | |
| 542 | static void AddDoubleString_Generic(asIScriptGeneric *gen) |
| 543 | { |
no outgoing calls
no test coverage detected