| 430 | } |
| 431 | |
| 432 | static CScriptString *AddStringDouble(const CScriptString &str, double f) |
| 433 | { |
| 434 | char buf[100]; |
| 435 | #if _MSC_VER >= 1400 // MSVC 8.0 / 2005 |
| 436 | sprintf_s(buf, 100, "%g", f); |
| 437 | #else |
| 438 | sprintf(buf, "%g", f); |
| 439 | #endif |
| 440 | return new CScriptString(str.buffer + buf); |
| 441 | } |
| 442 | |
| 443 | static void AddStringDouble_Generic(asIScriptGeneric *gen) |
| 444 | { |
no outgoing calls
no test coverage detected