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/statement.h | |
parent | 258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff) | |
download | serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2 serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip |
Use ZixAllocator directly
Diffstat (limited to 'include/serd/statement.h')
-rw-r--r-- | include/serd/statement.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/serd/statement.h b/include/serd/statement.h index 03d7ae6d..afdffae9 100644 --- a/include/serd/statement.h +++ b/include/serd/statement.h @@ -6,8 +6,8 @@ #include "serd/attributes.h" #include "serd/caret.h" -#include "serd/memory.h" #include "serd/node.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include <stdbool.h> @@ -65,7 +65,7 @@ typedef struct SerdStatementImpl SerdStatement; @return A new statement that must be freed with serd_statement_free() */ SERD_API SerdStatement* ZIX_ALLOCATED -serd_statement_new(SerdAllocator* ZIX_NULLABLE allocator, +serd_statement_new(ZixAllocator* ZIX_NULLABLE allocator, const SerdNode* ZIX_NONNULL s, const SerdNode* ZIX_NONNULL p, const SerdNode* ZIX_NONNULL o, @@ -74,12 +74,12 @@ serd_statement_new(SerdAllocator* ZIX_NULLABLE allocator, /// Return a copy of `statement` SERD_API SerdStatement* ZIX_ALLOCATED -serd_statement_copy(SerdAllocator* ZIX_NULLABLE allocator, +serd_statement_copy(ZixAllocator* ZIX_NULLABLE allocator, const SerdStatement* ZIX_NULLABLE statement); /// Free `statement` SERD_API void -serd_statement_free(SerdAllocator* ZIX_NULLABLE allocator, +serd_statement_free(ZixAllocator* ZIX_NULLABLE allocator, SerdStatement* ZIX_NULLABLE statement); /// Return the given node of the statement |