2.4.4.2 Setup

void zix_tree_free(ZixTree *t)

Free t.

ZixTree *zix_tree_new(ZixAllocator *allocator, bool allow_duplicates, ZixTreeCompareFunc cmp, void *cmp_data, ZixTreeDestroyFunc destroy, const void *destroy_user_data)

Create a new (empty) tree.

size_t zix_tree_size(const ZixTree *t)

Return the number of elements in t.