diff options
author | Thiep Ha <thiepha@gmail.com> | 2015-04-25 19:34:16 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-25 19:34:19 +0200 |
commit | 5c997ea4a34d5cfc8e3f5bb49b11a0ec60c03993 (patch) | |
tree | c862edce96636cc7d3e59ab7e27387687d3832b5 | |
parent | 888057f0bc4a4af91d91e05f15197cce169fbcfc (diff) | |
download | efl-5c997ea4a34d5cfc8e3f5bb49b11a0ec60c03993.tar.gz |
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 <cedric@osg.samsung.com>
-rw-r--r-- | src/lib/eina/eina_hash.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eina/eina_hash.h b/src/lib/eina/eina_hash.h index c19afa2ed5..460af00442 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); |