VgaGames 3 - Miscellaneous man-pages

[.. upper level ..]

VG3_hash_del()

Remove a key-value-pair from a hash.
SYNTAX
void * VG3_hash_del(struct vg3_hash *hhash, const void *key, size_t keysize)

FUNCTION PARAMETERS
hhash Hash
key Key
keysize Size of the key in bytes

RETURN VALUE
Returns the previous key-value-pair of the hash.

DESCRIPTION
Remove a key-value-pair from a hash. The return value is needed if the current entry is removed within the listing with VG3_hash_list().

SEE ALSO
VG3_hash_new() VG3_hash_free() VG3_hash_set() VG3_hash_clear() VG3_hash_isset() VG3_hash_get() VG3_hash_list()