| 284 | } |
| 285 | |
| 286 | static int estimateWidth(char32_t codepoint) { |
| 287 | #if defined(_WIN32) |
| 288 | (void)codepoint; |
| 289 | return 1; |
| 290 | #else |
| 291 | return wcwidth(codepoint); |
| 292 | #endif |
| 293 | } |
| 294 | |
| 295 | static int put_codepoint(const char* utf8_codepoint, size_t length, int expectedWidth) { |
| 296 | #if defined(_WIN32) |
no outgoing calls
no test coverage detected