→
←
index
Zix 0.8.0
»
2
Zix C API
»
2.4
Data Structures
»
2.4.4
Tree
»
2.4.4.2
Setup
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
.
→
←
index
Zix 0.8.0
»
2
Zix C API
»
2.4
Data Structures
»
2.4.4
Tree
»
2.4.4.2
Setup