libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
struct | GblHashSet |
struct | GblHashSetIter |
Macros | |
#define | GblHashSet_construct(...) |
Typedefs | |
typedef GblHash(* | GblHashSetHashFn) (const GblHashSet *pSelf, const void *) |
typedef GblBool(* | GblHashSetCmpFn) (const GblHashSet *pSelf, const void *, const void *) |
typedef void(* | GblHashSetDtorFn) (const GblHashSet *pSelf, void *) |
typedef GblBool(* | GblHashSetIterFn) (const GblHashSet *pSelf, void *, void *) |
Functions | |
GBL_RESULT | GblHashSet_construct_8 (GblHashSet *pSelf, size_t entrySize, GblHashSetHashFn pFnHash, GblHashSetCmpFn pFnCompare, GblHashSetDtorFn pFnDestruct, size_t capacity, GblContext *pCtx, void *pUserdata) |
GBL_RESULT | GblHashSet_construct_7 (GblHashSet *pSelf, size_t entrySize, GblHashSetHashFn pFnHash, GblHashSetCmpFn pFnCompare, GblHashSetDtorFn pFnDestruct, size_t capacity, GblContext *pCtx) |
GBL_RESULT | GblHashSet_construct_6 (GblHashSet *pSelf, size_t entrySize, GblHashSetHashFn pFnHash, GblHashSetCmpFn pFnCompare, GblHashSetDtorFn pFnDestruct, size_t capacity) |
GBL_RESULT | GblHashSet_construct_5 (GblHashSet *pSelf, size_t entrySize, GblHashSetHashFn pFnHash, GblHashSetCmpFn pFnCompare, GblHashSetDtorFn pFnDestruct) |
GBL_RESULT | GblHashSet_construct_4 (GblHashSet *pSelf, size_t entrySize, GblHashSetHashFn pFnHash, GblHashSetCmpFn pFnCompare) |
GBL_RESULT | GblHashSet_clone (GblHashSet *pSelf, const GblHashSet *pRhs, GblContext *hCtx) |
GBL_RESULT | GblHashSet_constructMove (GblHashSet *pSelf, GblHashSet *pRhs, GblContext *hCtx) |
GBL_RESULT | GblHashSet_constructClone (GblHashSet *pSelf, GblHashSet *pRhs) |
GBL_RESULT | GblHashSet_assignMove (GblHashSet *pSelf, GblHashSet *pRhs) |
GBL_RESULT | GblHashSet_destruct (GblHashSet *pSelf) |
size_t | GblHashSet_size (const GblHashSet *pSelf) |
size_t | GblHashSet_bucketCount (const GblHashSet *pSelf) |
size_t | GblHashSet_bucketSize (const GblHashSet *pSelf) |
GblContext * | GblHashSet_context (const GblHashSet *pSelf) |
GblBool | GblHashSet_empty (const GblHashSet *pSelf) |
void * | GblHashSet_userdata (const GblHashSet *pSelf) |
void * | GblHashSet_get (const GblHashSet *pSelf, const void *pKey) |
void * | GblHashSet_at (const GblHashSet *pSelf, const void *pKey) |
GblBool | GblHashSet_contains (const GblHashSet *pSelf, const void *pKey) |
size_t | GblHashSet_count (const GblHashSet *pSelf, const void *pKey) |
GblHashSetIter | GblHashSet_find (const GblHashSet *pSelf, const void *pKey) |
void * | GblHashSet_set (GblHashSet *pSelf, const void *pEntry) |
GblBool | GblHashSet_insert (GblHashSet *pSelf, const void *pEntry) |
void | GblHashSet_insertOrAssign (GblHashSet *pSelf, const void *pEntry) |
void * | GblHashSet_emplace (GblHashSet *pSelf, const void *pKey) |
void * | GblHashSet_tryEmplace (GblHashSet *pSelf, const void *pKey) |
GblBool | GblHashSet_erase (GblHashSet *pSelf, const void *pKey) |
void * | GblHashSet_extract (GblHashSet *pSelf, const void *pKey) |
void | GblHashSet_clear (GblHashSet *pSelf) |
GBL_RESULT | GblHashSet_shrinkToFit (GblHashSet *pSelf) |
void * | GblHashSet_probe (const GblHashSet *pSelf, size_t position) |
GblBool | GblHashSet_foreach (const GblHashSet *pSelf, GblHashSetIterFn iter, void *pUdata) |
GblHashSetIter | GblHashSet_next (const GblHashSet *pSelf, const GblHashSetIter *pPrev) |
const GblHashSet * | GblHashSetIter_container (const GblHashSetIter *pSelf) |
GblBool | GblHashSetIter_valid (const GblHashSetIter *pSelf) |
void * | GblHashSetIter_value (const GblHashSetIter *pSelf) |
GblHashSet structure and related functions.
Definition in file gimbal_hash_set.h.
#define GblHashSet_construct | ( | ... | ) |
Definition at line 97 of file gimbal_hash_set.h.
typedef GblHash(* GblHashSetHashFn) (const GblHashSet *pSelf, const void *) |
User-defined hasher function, hashing two entries.
Definition at line 21 of file gimbal_hash_set.h.
typedef GblBool(* GblHashSetCmpFn) (const GblHashSet *pSelf, const void *, const void *) |
User-defined comparator function, comparing two entries.
Definition at line 22 of file gimbal_hash_set.h.
typedef void(* GblHashSetDtorFn) (const GblHashSet *pSelf, void *) |
User-defined destructor function, destroying an entry.
Definition at line 23 of file gimbal_hash_set.h.
typedef GblBool(* GblHashSetIterFn) (const GblHashSet *pSelf, void *, void *) |
User-defined iterator function for traversal.
Definition at line 24 of file gimbal_hash_set.h.