| 343 | } |
| 344 | |
| 345 | void String_UNSAFE_TrimEnd(cc_string* str) { |
| 346 | int i; |
| 347 | for (i = str->length - 1; i >= 0; i--) { |
| 348 | if (str->buffer[i] != ' ') break; |
| 349 | str->length--; |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | int String_IndexOfConst(const cc_string* str, const char* sub) { |
| 354 | int i, j; |
no outgoing calls
no test coverage detected