| 173 | } |
| 174 | |
| 175 | void String_AppendInt(cc_string* str, int num) { |
| 176 | if (num < 0) { |
| 177 | num = -num; |
| 178 | String_Append(str, '-'); |
| 179 | } |
| 180 | String_AppendUInt32(str, (cc_uint32)num); |
| 181 | } |
| 182 | |
| 183 | void String_AppendUInt32(cc_string* str, cc_uint32 num) { |
| 184 | char digits[STRING_INT_CHARS]; |
no test coverage detected