aboutsummaryrefslogtreecommitdiff
path: root/include/buffer.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-02-24 20:34:57 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit6ff281bf14c6be02f1ff681a7c63607b06f1c1d3 (patch)
treed095af687bbd3958503fd81b737cd3c33dc6decb /include/buffer.h
parente0544300fb7da9a660a55eaf25f1996af573cd43 (diff)
Restrict buffer_deinit to scoped allocator
Diffstat (limited to 'include/buffer.h')
-rw-r--r--include/buffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/buffer.h b/include/buffer.h
index e0c4046..84e0cfa 100644
--- a/include/buffer.h
+++ b/include/buffer.h
@@ -15,7 +15,6 @@ typedef struct {
} Buffer;
CHECK_RESULT int buffer_init(Buffer *self, struct ScopedAllocator *allocator);
-void buffer_deinit(Buffer *self);
CHECK_RESULT int buffer_append(Buffer *self, void *data, usize size);
void* buffer_get(Buffer *self, usize index, usize type_size);