| 16 | #include <string.h> |
| 17 | |
| 18 | void *xmalloc(size_t size) |
| 19 | { |
| 20 | void *p = malloc(size); |
| 21 | if (p == NULL) { |
| 22 | fprintf(stderr, "Failed to allocate memory\n"); |
| 23 | abort(); |
| 24 | } |
| 25 | return p; |
| 26 | } |
| 27 | |
| 28 | char *to_chars(const CHAR16 uchars[], size_t size) |
| 29 | { |
no test coverage detected