VortexHash* vortex_hash_new_full ( axlHashFunc  hash_func,
axlEqualFunc  key_equal_func,
axlDestroyFunc  key_destroy_func,
axlDestroyFunc  value_destroy_func 
)

Creates a new VortexHash setting all functions.

Creates a new Vortex Hash Table. All vortex library is programed making heavy use of hash tables so things can go pretty much faster.

But this makes race condition to appear anywhere so, this type allow vortex library to create critical section to all operation that are applied to a hash table.

Parameters
hash_func
key_equal_func
key_destroy_func
value_destroy_func
Returns
a new VortexHash table or NULL if fail

References vortex_mutex_create().

Referenced by vortex_hash_new().