2
3
4
5
6
7
9#ifndef GIMBAL_HASHSET_H
10#define GIMBAL_HASHSET_H
12#include "../core/gimbal_typedefs.h"
13#include "../core/gimbal_ctx.h"
15#define GBL_SELF_TYPE GblHashSet
27
28
29
30
31
32
33
34
35
36
37
38
44 GblHashSetHashFn pFnHash;
45 GblHashSetCmpFn pFnCompare;
58
59
69 GblHashSetHashFn pFnHash,
70 GblHashSetCmpFn pFnCompare,
77 GblHashSetHashFn pFnHash,
78 GblHashSetCmpFn pFnCompare,
84 GblHashSetHashFn pFnHash,
85 GblHashSetCmpFn pFnCompare,
90 GblHashSetHashFn pFnHash,
91 GblHashSetCmpFn pFnCompare,
95 GblHashSetHashFn pFnHash,
97#define GblHashSet_construct(...)
101 const GblHashSet* pRhs,
140 GblHashSetIterFn iter,
#define GBL_FORWARD_DECLARE_STRUCT(S)
#define GBL_PRIVATE_BEGIN
#define GBL_PRIVATE_END
Private data structure.
#define GblHashSet_construct(...)
void(* GblHashSetDtorFn)(const GblHashSet *pSelf, void *)
User-defined destructor function, destroying an entry.
#define GBL_VA_OVERLOAD_CALL_ARGC(BASE,...)
uint32_t GblHash
Type representing a calculated numeric hash across the codebase.
uint8_t GblBool
Basic boolean type, standardized to sizeof(char)
Hash-table based abstract associative container with C++-style STL std::unoredered_set API.
Iterator structure used for iterating over GblHashSet.