| 312 | } |
| 313 | |
| 314 | static char *StringCharAt(unsigned int i, string &str) |
| 315 | { |
| 316 | if( i >= str.size() ) |
| 317 | { |
| 318 | // Set a script exception |
| 319 | asIScriptContext *ctx = asGetActiveContext(); |
| 320 | ctx->SetException("Out of range"); |
| 321 | |
| 322 | // Return a null pointer |
| 323 | return 0; |
| 324 | } |
| 325 | |
| 326 | return &str[i]; |
| 327 | } |
| 328 | |
| 329 | // AngelScript signature: |
| 330 | // int string::opCmp(const string &in) const |
nothing calls this directly
no outgoing calls
no test coverage detected