diff options
Diffstat (limited to 'include/serd/caret.h')
-rw-r--r-- | include/serd/caret.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/serd/caret.h b/include/serd/caret.h index 54df0932..a3d20a56 100644 --- a/include/serd/caret.h +++ b/include/serd/caret.h @@ -5,8 +5,8 @@ #define SERD_CARET_H #include "serd/attributes.h" -#include "serd/memory.h" #include "serd/node.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include <stdbool.h> @@ -37,20 +37,20 @@ typedef struct SerdCaretImpl SerdCaret; @return A new caret that must be freed with serd_caret_free() */ SERD_API SerdCaret* ZIX_ALLOCATED -serd_caret_new(SerdAllocator* ZIX_NULLABLE allocator, +serd_caret_new(ZixAllocator* ZIX_NULLABLE allocator, const SerdNode* ZIX_NONNULL document, unsigned line, unsigned column); /// Return a copy of `caret` SERD_API SerdCaret* ZIX_ALLOCATED -serd_caret_copy(SerdAllocator* ZIX_NULLABLE allocator, +serd_caret_copy(ZixAllocator* ZIX_NULLABLE allocator, const SerdCaret* ZIX_NULLABLE caret); /// Free `caret` SERD_API void -serd_caret_free(SerdAllocator* ZIX_NULLABLE allocator, - SerdCaret* ZIX_NULLABLE caret); +serd_caret_free(ZixAllocator* ZIX_NULLABLE allocator, + SerdCaret* ZIX_NULLABLE caret); /// Return true iff `lhs` is equal to `rhs` SERD_PURE_API bool |