git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60439
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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.
* @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.
*============================================================================*/
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);