summaryrefslogtreecommitdiffstats
path: root/zix/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/common.h')
-rw-r--r--zix/common.h5
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);
/**@}
*/