diff options
author | David Robillard <d@drobilla.net> | 2022-10-20 21:34:22 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-21 12:45:39 -0400 |
commit | 2ff624eae24742faf17889f858dbdaa6d4a064ea (patch) | |
tree | 63fff58c10051292e82bb0b031f41d8769e56629 /include/zix/tree.h | |
parent | d072adfbe40e15715e2065f1900f8d5a76491c5f (diff) | |
download | zix-2ff624eae24742faf17889f858dbdaa6d4a064ea.tar.gz zix-2ff624eae24742faf17889f858dbdaa6d4a064ea.tar.bz2 zix-2ff624eae24742faf17889f858dbdaa6d4a064ea.zip |
Split up common header
Diffstat (limited to 'include/zix/tree.h')
-rw-r--r-- | include/zix/tree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zix/tree.h b/include/zix/tree.h index f363ffc..7b77a7c 100644 --- a/include/zix/tree.h +++ b/include/zix/tree.h @@ -6,7 +6,8 @@ #include "zix/allocator.h" #include "zix/attributes.h" -#include "zix/common.h" +#include "zix/function_types.h" +#include "zix/status.h" #include <stdbool.h> #include <stddef.h> @@ -32,7 +33,7 @@ ZIX_API ZixTree* ZIX_ALLOCATED zix_tree_new(ZixAllocator* ZIX_NULLABLE allocator, bool allow_duplicates, - ZixComparator ZIX_NONNULL cmp, + ZixCompareFunc ZIX_NONNULL cmp, void* ZIX_NULLABLE cmp_data, ZixDestroyFunc ZIX_NULLABLE destroy, const void* ZIX_NULLABLE destroy_user_data); |