axlPointer vortex_hash_lookup_and_clear ( VortexHash hash_table,
axlPointer  key 
)

Allows to get the data pointed by the provided key and removing it from the table in one step.

Return the value, if found, associated with the key.

Parameters:
hash_table the hash table
key the key value
Returns:
the value found or NULL if fails