axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_hash_delete ( axlHash hash,
axlPointer  key 

Allows to remove the selected pair key/value from the provided hash table, without calling to destroy functions.

The function will remove the item but it will not resize the table due to it. The function will NOT call to the key destroy and data destroy function if they were defined at the insertion time (axl_hash_insert_full).

hashThe hash table where the removal operation will be performed.
keyThe key to lookup to be removed.
The function returns axl_true if the item was removed (deallocation functions aren't called), otherwise axl_false is returned. If the function returns axl_true, it means the object was stored in the hash before calling to remove.

References axl_false.