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/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zix/common.h') diff --git a/include/zix/common.h b/include/zix/common.h index 02f00b4..f43fcde 100644 --- a/include/zix/common.h +++ b/include/zix/common.h @@ -124,7 +124,7 @@ typedef int (*ZixComparator)(const void* a, typedef bool (*ZixEqualFunc)(const void* a, const void* b); /// Function to destroy an element -typedef void (*ZixDestroyFunc)(void* ptr); +typedef void (*ZixDestroyFunc)(void* ptr, const void* user_data); /** @} -- cgit v1.2.1