AngelScript signature: int string::opCmp(const string &in) const
| 329 | // AngelScript signature: |
| 330 | // int string::opCmp(const string &in) const |
| 331 | static int StringCmp(const string &a, const string &b) |
| 332 | { |
| 333 | int cmp = 0; |
| 334 | if( a < b ) cmp = -1; |
| 335 | else if( a > b ) cmp = 1; |
| 336 | return cmp; |
| 337 | } |
| 338 | |
| 339 | // This function returns the index of the first position where the substring |
| 340 | // exists in the input string. If the substring doesn't exist in the input |
nothing calls this directly
no outgoing calls
no test coverage detected