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/world.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/serd/world.h') diff --git a/include/serd/world.h b/include/serd/world.h index fb0930aa..a5dfe183 100644 --- a/include/serd/world.h +++ b/include/serd/world.h @@ -5,10 +5,10 @@ #define SERD_WORLD_H #include "serd/attributes.h" -#include "serd/memory.h" #include "serd/node.h" #include "serd/nodes.h" #include "serd/status.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include @@ -37,14 +37,14 @@ typedef struct { shared between worlds. */ SERD_MALLOC_API SerdWorld* ZIX_ALLOCATED -serd_world_new(SerdAllocator* ZIX_NULLABLE allocator); +serd_world_new(ZixAllocator* ZIX_NULLABLE allocator); /// Free `world` SERD_API void serd_world_free(SerdWorld* ZIX_NULLABLE world); /// Return the allocator used by `world` -SERD_PURE_API SerdAllocator* ZIX_NONNULL +SERD_PURE_API ZixAllocator* ZIX_NONNULL serd_world_allocator(const SerdWorld* ZIX_NONNULL world); /** -- cgit v1.2.1