| 341 | } |
| 342 | |
| 343 | static std::vector<uint32_t> codepoints_from_utf16(const std::vector<uint16_t> & utf16) { |
| 344 | std::vector<uint32_t> result; |
| 345 | size_t offset = 0; |
| 346 | while (offset < utf16.size()) |
| 347 | result.push_back(codepoint_from_utf16(utf16, offset)); |
| 348 | return result; |
| 349 | } |
| 350 | |
| 351 | #define CODEPOINT_TYPE_UNIDENTIFIED 0 |
| 352 | #define CODEPOINT_TYPE_DIGIT 1 |
nothing calls this directly
no test coverage detected