diff options
author | David Robillard <d@drobilla.net> | 2018-11-14 01:21:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-14 12:10:06 +0100 |
commit | f928e67b46bca4922532d909bddd116f3d991179 (patch) | |
tree | 37ded66bd0f3d5bdab9591f0beee5e4131bf07ec /zix/common.h | |
parent | aefc020257e5cf89ecec036a33ef1637297cecf7 (diff) | |
download | zix-f928e67b46bca4922532d909bddd116f3d991179.tar.gz zix-f928e67b46bca4922532d909bddd116f3d991179.tar.bz2 zix-f928e67b46bca4922532d909bddd116f3d991179.zip |
Make comparator functions take const user data
Diffstat (limited to 'zix/common.h')
-rw-r--r-- | zix/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zix/common.h b/zix/common.h index 71e8a22..a59c033 100644 --- a/zix/common.h +++ b/zix/common.h @@ -86,7 +86,9 @@ zix_strerror(const ZixStatus status) /** Function for comparing two elements. */ -typedef int (*ZixComparator)(const void* a, const void* b, void* user_data); +typedef int (*ZixComparator)(const void* a, + const void* b, + const void* user_data); /** Function for testing equality of two elements. |