forked from enlightenment/efl
eina: rename eina_hash_free_set as eina_hash_free_cb_set.
SVN revision: 60439
This commit is contained in:
parent
d70d67c288
commit
c2d99295bd
|
@ -108,5 +108,5 @@
|
|||
|
||||
2011-06-15 Cedric Bail
|
||||
|
||||
* Add eina_hash_free_set to change the free callback during the
|
||||
* Add eina_hash_free_cb_set to change the free callback during the
|
||||
life of an Eina_Hash.
|
||||
|
|
|
@ -270,8 +270,9 @@ EAPI Eina_Hash *eina_hash_new(Eina_Key_Length key_length_cb,
|
|||
* @param data_free_cb The function called on each value when the hash
|
||||
* table is freed. @c NULL can be passed as callback.
|
||||
* @since 1.1
|
||||
* See @ref eina_hash_new.
|
||||
*/
|
||||
EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb) EINA_ARG_NONNULL(1);
|
||||
EAPI void eina_hash_free_cb_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb) EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Create a new hash table using the djb2 algorithm.
|
||||
|
|
|
@ -714,7 +714,7 @@ _eina_hash_iterator_free(Eina_Iterator_Hash *it)
|
|||
*============================================================================*/
|
||||
|
||||
EAPI void
|
||||
eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
|
||||
eina_hash_free_cb_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
|
||||
{
|
||||
EINA_MAGIC_CHECK_HASH(hash);
|
||||
EINA_SAFETY_ON_NULL_RETURN(hash);
|
||||
|
|
Loading…
Reference in New Issue