#include "builder.h" #include "mbstring.h" #include "internal/common.h" struct u8str * u8strpushr(struct u8str *b, rune ch) { if (!u8strgrow(b, b->len + u8wdth(ch))) return nullptr; b->len += rtou8(b->p + b->len, ch, b->cap - b->len); return b; }