From 4b266e2f39a8d3a49b58c861c7fd852911cf7fb0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Jul 2021 00:05:22 -0400 Subject: Use line comments where appropriate --- include/zix/hash.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'include/zix/hash.h') diff --git a/include/zix/hash.h b/include/zix/hash.h index 3905038..6312d7b 100644 --- a/include/zix/hash.h +++ b/include/zix/hash.h @@ -35,14 +35,10 @@ extern "C" { typedef struct ZixHashImpl ZixHash; -/** - Function for computing the hash of an element. -*/ +/// Function for computing the hash of an element typedef uint32_t (*ZixHashFunc)(const void* value); -/** - Function to visit a hash element. -*/ +/// Function to visit a hash element typedef void (*ZixHashVisitFunc)(void* value, void* user_data); /** @@ -62,16 +58,12 @@ ZIX_API ZixHash* zix_hash_new(ZixHashFunc hash_func, ZixEqualFunc equal_func, size_t value_size); -/** - Free `hash`. -*/ +/// Free `hash` ZIX_API void zix_hash_free(ZixHash* hash); -/** - Return the number of elements in `hash`. -*/ +/// Return the number of elements in `hash` ZIX_PURE_API size_t zix_hash_size(const ZixHash* hash); -- cgit v1.2.1