diff options
Diffstat (limited to 'include/serd/buffer.h')
-rw-r--r-- | include/serd/buffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/serd/buffer.h b/include/serd/buffer.h index a56188e7..b37d5882 100644 --- a/include/serd/buffer.h +++ b/include/serd/buffer.h @@ -5,7 +5,7 @@ #define SERD_BUFFER_H #include "serd/attributes.h" -#include "serd/memory.h" +#include "zix/allocator.h" #include "zix/attributes.h" #include <stddef.h> @@ -26,9 +26,9 @@ SERD_BEGIN_DECLS /// A dynamically resizable mutable buffer in memory typedef struct { - SerdAllocator* ZIX_NULLABLE allocator; ///< Allocator for buf - void* ZIX_NULLABLE buf; ///< Buffer - size_t len; ///< Size of buffer in bytes + ZixAllocator* ZIX_NULLABLE allocator; ///< Allocator for buf + void* ZIX_NULLABLE buf; ///< Buffer + size_t len; ///< Size of buffer in bytes } SerdBuffer; /** |