| 102 | } |
| 103 | |
| 104 | static void AddString2IntGeneric(asIScriptGeneric * gen) { |
| 105 | string * a = static_cast<string *>(gen->GetObject()); |
| 106 | int * b = static_cast<int *>(gen->GetAddressOfArg(0)); |
| 107 | std::stringstream sstr; |
| 108 | sstr << *a << *b; |
| 109 | std::string ret_val = sstr.str(); |
| 110 | gen->SetReturnObject(&ret_val); |
| 111 | } |
| 112 | |
| 113 | static string alert_buf; |
| 114 | static void AlertGeneric(asIScriptGeneric * gen) { |
nothing calls this directly
no test coverage detected