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

Allows to remove the selected pair key/value on the provided hash table.

The function will remove the item but it will not resize the table because of this. The function will 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, otherwise axl_false is returned. If the function returns axl_true, it means the object was stored in the hash before calling to remove it.

References axl_true.

Referenced by axl_hash_cursor_remove(), and axl_node_remove_attribute().