| 2604 | } |
| 2605 | |
| 2606 | int ImTextCharToUtf8(char out_buf[5], unsigned int c) |
| 2607 | { |
| 2608 | int count = ImTextCharToUtf8_inline(out_buf, 5, c); |
| 2609 | out_buf[count] = 0; |
| 2610 | return count; |
| 2611 | } |
| 2612 | |
| 2613 | // Not optimal but we very rarely use this function. |
| 2614 | int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end) |
no test coverage detected