-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_HashSet
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Set a value in a hash by string key.
void *MTY_HashSet(
MTY_Hash * ctx,
const char * key,
void * value
);
ctx
(MTY_Hash *
)
An MTY_Hash
.
key
(const char *
)
String key to set.
value
(void *
)
Value to set associated with key
.
void *
If key
already exists, the previous value is returned, otherwise NULL
is returned.