diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,6 +110,8 @@ static void str_cpy(char *dst, size_t dst_sz, char const *src) { dst[n] = 0; } +#define strbuf_cpy(dst, src) str_cpy(dst, sizeof dst, src) + // advances str to the start of the next UTF8 character static void utf8_next_char_const(char const **str) { if (**str) { |