| 117 | } |
| 118 | |
| 119 | static void ub_init(UdlBuf *b, CBMArena *arena) { |
| 120 | b->buf = (char *)cbm_arena_alloc(arena, BUF_CAP); |
| 121 | b->pos = 0; |
| 122 | b->cap = BUF_CAP; |
| 123 | if (b->buf) |
| 124 | b->buf[0] = '\0'; |
| 125 | } |
| 126 | static void ub_app(UdlBuf *b, const char *s) { |
| 127 | if (!b->buf || !s) |
| 128 | return; |
no test coverage detected