diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 07:49:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 08:17:10 +0300 |
commit | c097c7b855d4b01950494dc369e9def59486b0fd (patch) | |
tree | d6a9c5a7108e97b0c38f5ba6cb4ded2a2e45ba2e /source/blender/blenlib/BLI_ghash.h | |
parent | c1f5d8d023c6fdef67efbc6ce2af49e384c9bd98 (diff) |
Cleanup: correct unbalanced doxygen groups
Also add groups in some files.
Diffstat (limited to 'source/blender/blenlib/BLI_ghash.h')
-rw-r--r-- | source/blender/blenlib/BLI_ghash.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index b688712469f..0194f9aad40 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -43,6 +43,10 @@ extern "C" { # endif #endif +/* -------------------------------------------------------------------- */ +/** \name GHash Types + * \{ */ + typedef unsigned int (*GHashHashFP)(const void *key); /** returns false when equal */ typedef bool (*GHashCmpFP)(const void *a, const void *b); @@ -74,6 +78,8 @@ enum { #endif }; +/** \} */ + /* -------------------------------------------------------------------- */ /** \name GHash API * @@ -340,12 +346,11 @@ BLI_INLINE bool BLI_ghashIterator_done(const GHashIterator *ghi) /** \} */ /* -------------------------------------------------------------------- */ -/** \name GSet API +/** \name GSet Types * A 'set' implementation (unordered collection of unique elements). * * Internally this is a 'GHash' without any keys, * which is why this API's are in the same header & source file. - * * \{ */ typedef struct GSet GSet; @@ -357,10 +362,13 @@ typedef GHashKeyCopyFP GSetKeyCopyFP; typedef GHashIterState GSetIterState; +/** \} */ + /** \name GSet Public API * * Use ghash API to give 'set' functionality * \{ */ + GSet *BLI_gset_new_ex(GSetHashFP hashfp, GSetCmpFP cmpfp, const char *info, @@ -521,6 +529,7 @@ double BLI_gset_calc_quality_ex(GSet *gs, double BLI_ghash_calc_quality(GHash *gh); double BLI_gset_calc_quality(GSet *gs); #endif /* GHASH_INTERNAL_API */ + /** \} */ /* -------------------------------------------------------------------- */ |