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/node.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/serd/node.h') diff --git a/include/serd/node.h b/include/serd/node.h index 31caad88..941be5d1 100644 --- a/include/serd/node.h +++ b/include/serd/node.h @@ -5,10 +5,10 @@ #define SERD_NODE_H #include "serd/attributes.h" -#include "serd/memory.h" #include "serd/uri.h" #include "serd/value.h" #include "serd/write_result.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include "zix/string_view.h" @@ -428,7 +428,7 @@ serd_node_construct(size_t buf_size, void* ZIX_NULLABLE buf, SerdNodeArgs args); null. */ SERD_API SerdNode* ZIX_ALLOCATED -serd_node_new(SerdAllocator* ZIX_NULLABLE allocator, SerdNodeArgs args); +serd_node_new(ZixAllocator* ZIX_NULLABLE allocator, SerdNodeArgs args); /** Return a deep copy of `node`. @@ -437,15 +437,15 @@ serd_node_new(SerdAllocator* ZIX_NULLABLE allocator, SerdNodeArgs args); @param node The node to copyl */ SERD_API SerdNode* ZIX_ALLOCATED -serd_node_copy(SerdAllocator* ZIX_NULLABLE allocator, +serd_node_copy(ZixAllocator* ZIX_NULLABLE allocator, const SerdNode* ZIX_NULLABLE node); /** Free any data owned by `node`. */ SERD_API void -serd_node_free(SerdAllocator* ZIX_NULLABLE allocator, - SerdNode* ZIX_NULLABLE node); +serd_node_free(ZixAllocator* ZIX_NULLABLE allocator, + SerdNode* ZIX_NULLABLE node); /** @} -- cgit v1.2.1