diff options
author | David Robillard <d@drobilla.net> | 2021-09-10 20:11:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-09-10 20:54:28 -0400 |
commit | 06443ecb437eebcf3373b1034ca5ff84ebe212df (patch) | |
tree | 89c4c0d72eac6b10d88bf1042584d84cf9fc607f /include/zix/tree.h | |
parent | 6d4cb50fa2f2cdd092e9459a6da59eb3cdda7434 (diff) | |
download | zix-06443ecb437eebcf3373b1034ca5ff84ebe212df.tar.gz zix-06443ecb437eebcf3373b1034ca5ff84ebe212df.tar.bz2 zix-06443ecb437eebcf3373b1034ca5ff84ebe212df.zip |
Add a user handle to destroy callback
Diffstat (limited to 'include/zix/tree.h')
-rw-r--r-- | include/zix/tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |