From 8201cd9f40897cf6b8e6973b28a8661108702ab1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 24 Feb 2019 20:53:16 +0100 Subject: Remove unused allocator from buffer --- include/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/buffer.h b/include/buffer.h index 84e0cfa..5339108 100644 --- a/include/buffer.h +++ b/include/buffer.h @@ -8,12 +8,12 @@ #define BUFFER_ALLOC_FAIL -1 typedef struct { - struct ScopedAllocator *allocator; char* data; usize size; usize capacity; } Buffer; +struct ScopedAllocator; CHECK_RESULT int buffer_init(Buffer *self, struct ScopedAllocator *allocator); CHECK_RESULT int buffer_append(Buffer *self, void *data, usize size); -- cgit v1.2.3