cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5c997ea4a34d5cfc8e3f5bb49b11a0ec60c03993

commit 5c997ea4a34d5cfc8e3f5bb49b11a0ec60c03993
Author: Thiep Ha <thie...@gmail.com>
Date:   Sat Apr 25 19:34:16 2015 +0200

    eina: correct document for eina_hash_list_prepend/remove.
    
    Summary:
    The eina_hash_list_preprend/remove API have wrong description.
    This patch fixes it.
    
    @fix
    
    Reviewers: Hermet, cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2423
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/eina/eina_hash.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/lib/eina/eina_hash.h b/src/lib/eina/eina_hash.h
index c19afa2..460af00 100644
--- a/src/lib/eina/eina_hash.h
+++ b/src/lib/eina/eina_hash.h
@@ -1067,26 +1067,26 @@ EAPI void           eina_hash_foreach(const Eina_Hash  
*hash,
  */
 EAPI void eina_hash_list_append(Eina_Hash *hash, const void *key, const void 
*data) EINA_ARG_NONNULL(1, 2, 3);
 /**
- * @brief Append data to an #Eina_List inside a hash
+ * @brief Prepend data to an #Eina_List inside a hash
  *
  * This function is identical to the sequence of calling
- * eina_hash_find(), eina_list_append(), eina_hash_set(),
+ * eina_hash_find(), eina_list_prepend(), eina_hash_set(),
  * but with one fewer required hash lookup.
  * @param hash The hash table
  * @param key The key associated with the data
- * @param data The data to append to the list
+ * @param data The data to prepend to the list
  * @since 1.10
  */
 EAPI void eina_hash_list_prepend(Eina_Hash *hash, const void *key, const void 
*data) EINA_ARG_NONNULL(1, 2, 3);
 /**
- * @brief Append data to an #Eina_List inside a hash
+ * @brief Remove data from an #Eina_List inside a hash
  *
  * This function is identical to the sequence of calling
- * eina_hash_find(), eina_list_append(), eina_hash_set(),
+ * eina_hash_find(), eina_list_remove(), eina_hash_set(),
  * but with one fewer required hash lookup.
  * @param hash The hash table
  * @param key The key associated with the data
- * @param data The data to append to the list
+ * @param data The data to remove from the list
  * @since 1.10
  */
 EAPI void eina_hash_list_remove(Eina_Hash *hash, const void *key, const void 
*data) EINA_ARG_NONNULL(1, 2, 3);

-- 


Reply via email to