aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_source.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-19 17:55:02 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit0f9816d67bc67a396607291f845ca2a33c2285a7 (patch)
treeb31fd1b344305dc984a2109084fa183573a0ae43 /src/byte_source.h
parent258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff)
downloadserd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip
Use ZixAllocator directly
Diffstat (limited to 'src/byte_source.h')
-rw-r--r--src/byte_source.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/byte_source.h b/src/byte_source.h
index ba63e794..ced36b82 100644
--- a/src/byte_source.h
+++ b/src/byte_source.h
@@ -8,9 +8,9 @@
#include "serd/caret.h"
#include "serd/input_stream.h"
-#include "serd/memory.h"
#include "serd/node.h"
#include "serd/status.h"
+#include "zix/allocator.h"
#include "zix/attributes.h"
#include <assert.h>
@@ -33,13 +33,13 @@ typedef struct {
} SerdByteSource;
SerdByteSource*
-serd_byte_source_new_input(SerdAllocator* allocator,
+serd_byte_source_new_input(ZixAllocator* allocator,
SerdInputStream* input,
const SerdNode* name,
size_t block_size);
void
-serd_byte_source_free(SerdAllocator* allocator, SerdByteSource* source);
+serd_byte_source_free(ZixAllocator* allocator, SerdByteSource* source);
SerdStatus
serd_byte_source_prepare(SerdByteSource* source);