From 38987f3f5a3919ac81ba419e05ac8610c269faff Mon Sep 17 00:00:00 2001 From: wrmr Date: Sat, 9 Nov 2024 02:04:33 -0500 Subject: rename buf_t to str_t, and consolidate str.c/h with strv.c/h --- buf.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 buf.h (limited to 'buf.h') diff --git a/buf.h b/buf.h deleted file mode 100644 index e7fb6b7..0000000 --- a/buf.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef BUF_H -#define BUF_H - -#include -#include "strv.h" - -typedef struct buf { - size_t sz, cap; - char *buf; -} buf_t; - -void buf_init(buf_t *, size_t); -void buf_grow(buf_t *, size_t); -void buf_free(buf_t *); - -void buf_cat(buf_t *b, strv_t s); -void buf_catc(buf_t *b, char c); - -#endif -- cgit 1.4.1-2-gfad0