From 06443ecb437eebcf3373b1034ca5ff84ebe212df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 10 Sep 2021 20:11:40 -0400 Subject: Add a user handle to destroy callback --- include/zix/tree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/zix/tree.h') diff --git a/include/zix/tree.h b/include/zix/tree.h index d7d2cce..e0daa80 100644 --- a/include/zix/tree.h +++ b/include/zix/tree.h @@ -45,7 +45,8 @@ ZixTree* zix_tree_new(bool allow_duplicates, ZixComparator cmp, void* cmp_data, - ZixDestroyFunc destroy); + ZixDestroyFunc destroy, + const void* destroy_user_data); /// Free `t` ZIX_API -- cgit v1.2.1