diff options
author | David Robillard <d@drobilla.net> | 2022-12-19 17:55:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 0f9816d67bc67a396607291f845ca2a33c2285a7 (patch) | |
tree | b31fd1b344305dc984a2109084fa183573a0ae43 /include/serd/model.h | |
parent | 258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff) | |
download | serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2 serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip |
Use ZixAllocator directly
Diffstat (limited to 'include/serd/model.h')
-rw-r--r-- | include/serd/model.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/serd/model.h b/include/serd/model.h index 24055c9d..fd2620f6 100644 --- a/include/serd/model.h +++ b/include/serd/model.h @@ -7,12 +7,12 @@ #include "serd/attributes.h" #include "serd/caret.h" #include "serd/cursor.h" -#include "serd/memory.h" #include "serd/node.h" #include "serd/nodes.h" #include "serd/statement.h" #include "serd/status.h" #include "serd/world.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include <stdbool.h> @@ -83,7 +83,7 @@ serd_model_new(SerdWorld* ZIX_NONNULL world, /// Return a deep copy of `model` SERD_API SerdModel* ZIX_ALLOCATED -serd_model_copy(SerdAllocator* ZIX_NULLABLE allocator, +serd_model_copy(ZixAllocator* ZIX_NULLABLE allocator, const SerdModel* ZIX_NONNULL model); /// Return true iff `a` is equal to `b`, ignoring statement cursor metadata @@ -145,7 +145,7 @@ serd_model_empty(const SerdModel* ZIX_NONNULL model); @param model The model that the returned cursor points to. */ SERD_API SerdCursor* ZIX_ALLOCATED -serd_model_begin(SerdAllocator* ZIX_NULLABLE allocator, +serd_model_begin(ZixAllocator* ZIX_NULLABLE allocator, const SerdModel* ZIX_NONNULL model); /** @@ -165,7 +165,7 @@ serd_model_end(const SerdModel* ZIX_NONNULL model); @param order The statement order that the returned cursor advances through. */ SERD_API SerdCursor* ZIX_ALLOCATED -serd_model_begin_ordered(SerdAllocator* ZIX_NULLABLE allocator, +serd_model_begin_ordered(ZixAllocator* ZIX_NULLABLE allocator, const SerdModel* ZIX_NONNULL model, SerdStatementOrder order); @@ -181,7 +181,7 @@ serd_model_begin_ordered(SerdAllocator* ZIX_NULLABLE allocator, @return A cursor pointing at the first match, or the end. */ SERD_API SerdCursor* ZIX_NULLABLE -serd_model_find(SerdAllocator* ZIX_NULLABLE allocator, +serd_model_find(ZixAllocator* ZIX_NULLABLE allocator, const SerdModel* ZIX_NONNULL model, const SerdNode* ZIX_NULLABLE s, const SerdNode* ZIX_NULLABLE p, |