diff options
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 |