diff options
author | David Robillard <d@drobilla.net> | 2011-09-28 21:29:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-28 21:29:15 +0000 |
commit | 7aba1b9c1a40ce84b2f9a42988697b7ebd464ee0 (patch) | |
tree | 46097d48348d8600d175735527680eed489a143c /zix/common.h | |
parent | 038314368968b7955d9a9b82b95cf51b983e2ccc (diff) | |
download | zix-7aba1b9c1a40ce84b2f9a42988697b7ebd464ee0.tar.gz zix-7aba1b9c1a40ce84b2f9a42988697b7ebd464ee0.tar.bz2 zix-7aba1b9c1a40ce84b2f9a42988697b7ebd464ee0.zip |
Add destructor parameter and zix_tree_size
git-svn-id: http://svn.drobilla.net/zix/trunk@41 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'zix/common.h')
-rw-r--r-- | zix/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zix/common.h b/zix/common.h index a7edf76..8ed0b0b 100644 --- a/zix/common.h +++ b/zix/common.h @@ -60,6 +60,11 @@ typedef int (*ZixComparator)(const void* a, const void* b, void* user_data); Function for testing equality of two elements. */ typedef bool (*ZixEqualFunc)(const void* a, const void* b); + +/** + Function to destroy an element. +*/ +typedef void (*ZixDestroyFunc)(const void* ptr); /**@} */ |