From 0f9816d67bc67a396607291f845ca2a33c2285a7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Dec 2022 17:55:02 -0500 Subject: Use ZixAllocator directly --- include/serd/sink.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/serd/sink.h') diff --git a/include/serd/sink.h b/include/serd/sink.h index e34ce941..a0e7eee5 100644 --- a/include/serd/sink.h +++ b/include/serd/sink.h @@ -6,10 +6,10 @@ #include "serd/attributes.h" #include "serd/event.h" -#include "serd/memory.h" #include "serd/node.h" #include "serd/statement.h" #include "serd/status.h" +#include "zix/allocator.h" #include "zix/attributes.h" SERD_BEGIN_DECLS @@ -72,10 +72,10 @@ typedef void (*SerdFreeFunc)(void* ZIX_NULLABLE ptr); @param free_handle Free function to call on handle in serd_sink_free(). */ SERD_API SerdSink* ZIX_ALLOCATED -serd_sink_new(SerdAllocator* ZIX_NULLABLE allocator, - void* ZIX_NULLABLE handle, - SerdEventFunc ZIX_NULLABLE event_func, - SerdFreeFunc ZIX_NULLABLE free_handle); +serd_sink_new(ZixAllocator* ZIX_NULLABLE allocator, + void* ZIX_NULLABLE handle, + SerdEventFunc ZIX_NULLABLE event_func, + SerdFreeFunc ZIX_NULLABLE free_handle); /// Free `sink` SERD_API void -- cgit v1.2.1