diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-02-24 20:53:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 8201cd9f40897cf6b8e6973b28a8661108702ab1 (patch) | |
tree | 843a1dd452c558c6d9b8c72c65f94ee31a78ea0e /include | |
parent | 6ff281bf14c6be02f1ff681a7c63607b06f1c1d3 (diff) |
Remove unused allocator from buffer
Diffstat (limited to 'include')
-rw-r--r-- | include/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |