aboutsummaryrefslogtreecommitdiffstats
path: root/src/canon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/canon.c')
-rw-r--r--src/canon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/canon.c b/src/canon.c
index 2ef28e07..718b1a83 100644
--- a/src/canon.c
+++ b/src/canon.c
@@ -13,12 +13,12 @@
#include "serd/caret.h"
#include "serd/event.h"
#include "serd/log.h"
-#include "serd/memory.h"
#include "serd/node.h"
#include "serd/sink.h"
#include "serd/statement.h"
#include "serd/status.h"
#include "serd/world.h"
+#include "zix/allocator.h"
#include "zix/attributes.h"
#include "zix/string_view.h"
@@ -34,7 +34,7 @@ typedef struct {
} SerdCanonData;
static ExessResult
-build_typed(SerdAllocator* const ZIX_NONNULL allocator,
+build_typed(ZixAllocator* const ZIX_NONNULL allocator,
SerdNode** const out,
const SerdNode* const ZIX_NONNULL node,
const SerdNode* const ZIX_NONNULL datatype)
@@ -91,7 +91,7 @@ build_typed(SerdAllocator* const ZIX_NONNULL allocator,
}
static ExessResult
-build_tagged(SerdAllocator* const ZIX_NONNULL allocator,
+build_tagged(ZixAllocator* const ZIX_NONNULL allocator,
SerdNode** const out,
const SerdNode* const ZIX_NONNULL node,
const SerdNode* const ZIX_NONNULL language)
@@ -129,7 +129,7 @@ serd_canon_on_statement(SerdCanonData* const data,
const SerdStatementFlags flags,
const SerdStatement* const statement)
{
- SerdAllocator* const allocator = serd_world_allocator(data->world);
+ ZixAllocator* const allocator = serd_world_allocator(data->world);
const SerdNode* const object = serd_statement_object(statement);
const SerdNode* const datatype = serd_node_datatype(object);
const SerdNode* const language = serd_node_language(object);