| 165 | } |
| 166 | |
| 167 | int String_MakeUInt32(cc_uint32 num, char* digits) { |
| 168 | int len = 0; |
| 169 | do { |
| 170 | digits[len] = '0' + (num % 10); num /= 10; len++; |
| 171 | } while (num > 0); |
| 172 | return len; |
| 173 | } |
| 174 | |
| 175 | void String_AppendInt(cc_string* str, int num) { |
| 176 | if (num < 0) { |
no outgoing calls
no test coverage detected