diff options
author | David Robillard <d@drobilla.net> | 2025-06-07 12:01:00 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-06-07 12:01:00 -0400 |
commit | 555e429e34c2a325e262dbb9de157d60a08ca17d (patch) | |
tree | d2b4381be4b81a3abd70429f71587432123c233e /include/zix/hash.h | |
parent | 94efd15ff9fdfaeab42dbfca9f3a2aa1f2f40d46 (diff) | |
download | zix-555e429e34c2a325e262dbb9de157d60a08ca17d.tar.gz zix-555e429e34c2a325e262dbb9de157d60a08ca17d.tar.bz2 zix-555e429e34c2a325e262dbb9de157d60a08ca17d.zip |
Consistently organize data structure documentation
Diffstat (limited to 'include/zix/hash.h')
-rw-r--r-- | include/zix/hash.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/zix/hash.h b/include/zix/hash.h index ec04b90..3222e58 100644 --- a/include/zix/hash.h +++ b/include/zix/hash.h @@ -20,7 +20,7 @@ ZIX_BEGIN_DECLS */ /** - @defgroup zix_hash_datatypes Datatypes + @defgroup zix_hash_types Types @{ */ @@ -77,12 +77,6 @@ typedef struct ZixHashImpl ZixHash; /// A full hash code for a key which is not folded down to the table size typedef size_t ZixHashCode; -/** - @} - @defgroup zix_hash_setup Setup - @{ -*/ - /// User function for getting the key of a record typedef const ZixHashKey* ZIX_NONNULL (*ZixKeyFunc)( const ZixHashRecord* ZIX_NONNULL record); @@ -95,6 +89,12 @@ typedef bool (*ZixKeyEqualFunc)(const ZixHashKey* ZIX_NONNULL a, const ZixHashKey* ZIX_NONNULL b); /** + @} + @defgroup zix_hash_setup Setup + @{ +*/ + +/** Create a new hash table. @param allocator Allocator used for the internal array. |