| 156 | } |
| 157 | |
| 158 | static void append_raw(char *buf, size_t bufsz, size_t *pos, const char *s) { |
| 159 | if (!s) { |
| 160 | return; |
| 161 | } |
| 162 | while (*s) { |
| 163 | append_char(buf, bufsz, pos, *s++); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | static void append_text_atom(char *buf, size_t bufsz, size_t *pos, const char *s) { |
| 168 | if (!s) { |
no test coverage detected