summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-25 11:28:09 -0700
committercflip <cflip@cflip.net>2023-01-25 18:32:43 -0700
commit723876da5741892530cd74112ec1510124e95cf9 (patch)
tree2017e9e488a073b274c485fbd192ba05724c01c7 /buffer.h
parent69e2be81c732353f5f89389fec3f9bb768b0766a (diff)
Rename `append_buffer` to textbuf
This name is a little bit better I think, and it will be nice to have a distinction between this utility and the 'file' kind of buffer.
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/buffer.h b/buffer.h
deleted file mode 100644
index 7761f6c..0000000
--- a/buffer.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _BUFFER_H
-#define _BUFFER_H
-
-struct append_buffer {
- char* buffer;
- int length;
-};
-
-#define ABUF_INIT { NULL, 0 }
-
-void ab_append(struct append_buffer* ab, const char* string, int length);
-void ab_free(struct append_buffer* ab);
-
-#endif