| 1462 | } |
| 1463 | |
| 1464 | static void AddFloat2StringGeneric(asIScriptGeneric * gen) |
| 1465 | { |
| 1466 | float* a = static_cast<float *>(gen->GetAddressOfArg(0)); |
| 1467 | string * b = static_cast<string *>(gen->GetObject()); |
| 1468 | std::stringstream sstr; |
| 1469 | sstr << *a << *b; |
| 1470 | std::string ret_val = sstr.str(); |
| 1471 | gen->SetReturnObject(&ret_val); |
| 1472 | } |
| 1473 | |
| 1474 | static void AddInt2StringGeneric(asIScriptGeneric * gen) |
| 1475 | { |
nothing calls this directly
no test coverage detected