eina: rename eina_hash_free_set as eina_hash_free_cb_set.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 17 Jun 2011 09:49:15 +0000 (09:49 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Fri, 17 Jun 2011 09:49:15 +0000 (09:49 +0000)
SVN revision: 60439

legacy/eina/ChangeLog
legacy/eina/src/include/eina_hash.h
legacy/eina/src/lib/eina_hash.c

index 6767ee7..a1a8e21 100644 (file)
 
 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.
index 474580e..46204ba 100644 (file)
@@ -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.
index 9b237ff..5df20aa 100644 (file)
@@ -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);