-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_HashGetNextKey
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Iterate through string key/value pairs in a hash.
bool MTY_HashGetNextKey(
MTY_Hash * ctx,
uint64_t * iter,
const char ** key
);
ctx
(MTY_Hash *
)
An MTY_Hash
.
iter
(uint64_t *
)
Iterator that keeps track of the position in the hash. Set this to 0 before the fist call to this function.
key
(const char **
)
Reference to the next string key in the hash.
bool
Returns true
if there are more keys available, otherwise false
.