summaryrefslogtreecommitdiffstats
path: root/include/zix/common.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-01 00:05:22 -0400
committerDavid Robillard <d@drobilla.net>2021-07-17 19:58:17 -0400
commit4b266e2f39a8d3a49b58c861c7fd852911cf7fb0 (patch)
treedc12d618dc52b640b82e522917b238e38af033b3 /include/zix/common.h
parent46f9327b06e866e3180c1924a0afa0afd8b0b5c5 (diff)
downloadzix-4b266e2f39a8d3a49b58c861c7fd852911cf7fb0.tar.gz
zix-4b266e2f39a8d3a49b58c861c7fd852911cf7fb0.tar.bz2
zix-4b266e2f39a8d3a49b58c861c7fd852911cf7fb0.zip
Use line comments where appropriate
Diffstat (limited to 'include/zix/common.h')
-rw-r--r--include/zix/common.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/zix/common.h b/include/zix/common.h
index 02481ff..926e281 100644
--- a/include/zix/common.h
+++ b/include/zix/common.h
@@ -112,21 +112,15 @@ zix_strerror(const ZixStatus status)
return "Unknown error";
}
-/**
- Function for comparing two elements.
-*/
+/// Function for comparing two elements
typedef int (*ZixComparator)(const void* a,
const void* b,
const void* user_data);
-/**
- Function for testing equality of two elements.
-*/
+/// Function for testing equality of two elements
typedef bool (*ZixEqualFunc)(const void* a, const void* b);
-/**
- Function to destroy an element.
-*/
+/// Function to destroy an element
typedef void (*ZixDestroyFunc)(void* ptr);
/**