| 2082 | } |
| 2083 | |
| 2084 | const char* ImTextCharToUtf8(char out_buf[5], unsigned int c) |
| 2085 | { |
| 2086 | int count = ImTextCharToUtf8_inline(out_buf, 5, c); |
| 2087 | out_buf[count] = 0; |
| 2088 | return out_buf; |
| 2089 | } |
| 2090 | |
| 2091 | // Not optimal but we very rarely use this function. |
| 2092 | int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end) |
no test coverage detected