axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlHash* axl_hash_new_full ( axlHashFunc  hash,
axlEqualFunc  equal,
int  step 

The function works the same way like axl_hash_new, but provides a way to configure how many unit are allocated on hash resizing operations.

See axl_hash_new for more information. That function uses a default step value equal to 10.

hashThe hashing function to be used for this table.
equalThe equal function used by the hash to actually check that two stored items are equal (using the key value)
stepThe number of empty new slots to allocate once the hash must be resized.
A newly created hash table that is deallocated by using axl_hash_free.

References axl_free(), and axl_new.

Referenced by axl_hash_new().