stash undo3

This commit is contained in:
2025-11-29 12:36:11 -08:00
parent 85e9f33613
commit c47287e96e
8 changed files with 96 additions and 31 deletions

2
abuf.h
View File

@@ -22,8 +22,10 @@ void ab_init_cap(abuf *buf, size_t cap);
void ab_resize(abuf *buf, size_t cap);
void ab_appendch(abuf *buf, char c);
void ab_append(abuf *buf, const char *s, size_t len);
void ab_append_ab(abuf *buf, const abuf *other);
void ab_prependch(abuf *buf, const char c);
void ab_prepend(abuf *buf, const char *s, const size_t len);
void ab_prepend_ab(abuf *buf, const abuf *other);
void ab_free(abuf *buf);