aboutsummaryrefslogtreecommitdiffstats
path: root/src/sink.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/sink.h
parent258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff)
downloadserd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip
Use ZixAllocator directly
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sink.h b/src/sink.h
index baed246e..d6a12b3b 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -5,17 +5,17 @@
#define SERD_SRC_SINK_H
#include "serd/event.h"
-#include "serd/memory.h"
#include "serd/sink.h"
+#include "zix/allocator.h"
/**
An interface that receives a stream of RDF data.
*/
struct SerdSinkImpl {
- SerdAllocator* allocator;
- void* handle;
- SerdFreeFunc free_handle;
- SerdEventFunc on_event;
+ ZixAllocator* allocator;
+ void* handle;
+ SerdFreeFunc free_handle;
+ SerdEventFunc on_event;
};
#endif // SERD_SRC_SINK_H