summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2015-04-25 19:34:16 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-25 19:34:19 +0200
commit5c997ea4a34d5cfc8e3f5bb49b11a0ec60c03993 (patch)
treec862edce96636cc7d3e59ab7e27387687d3832b5 /src/lib/eina
parent888057f0bc4a4af91d91e05f15197cce169fbcfc (diff)
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>
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_hash.h12
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,
1067 */ 1067 */
1068EAPI void eina_hash_list_append(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3); 1068EAPI void eina_hash_list_append(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3);
1069/** 1069/**
1070 * @brief Append data to an #Eina_List inside a hash 1070 * @brief Prepend data to an #Eina_List inside a hash
1071 * 1071 *
1072 * This function is identical to the sequence of calling 1072 * This function is identical to the sequence of calling
1073 * eina_hash_find(), eina_list_append(), eina_hash_set(), 1073 * eina_hash_find(), eina_list_prepend(), eina_hash_set(),
1074 * but with one fewer required hash lookup. 1074 * but with one fewer required hash lookup.
1075 * @param hash The hash table 1075 * @param hash The hash table
1076 * @param key The key associated with the data 1076 * @param key The key associated with the data
1077 * @param data The data to append to the list 1077 * @param data The data to prepend to the list
1078 * @since 1.10 1078 * @since 1.10
1079 */ 1079 */
1080EAPI void eina_hash_list_prepend(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3); 1080EAPI void eina_hash_list_prepend(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3);
1081/** 1081/**
1082 * @brief Append data to an #Eina_List inside a hash 1082 * @brief Remove data from an #Eina_List inside a hash
1083 * 1083 *
1084 * This function is identical to the sequence of calling 1084 * This function is identical to the sequence of calling
1085 * eina_hash_find(), eina_list_append(), eina_hash_set(), 1085 * eina_hash_find(), eina_list_remove(), eina_hash_set(),
1086 * but with one fewer required hash lookup. 1086 * but with one fewer required hash lookup.
1087 * @param hash The hash table 1087 * @param hash The hash table
1088 * @param key The key associated with the data 1088 * @param key The key associated with the data
1089 * @param data The data to append to the list 1089 * @param data The data to remove from the list
1090 * @since 1.10 1090 * @since 1.10
1091 */ 1091 */
1092EAPI void eina_hash_list_remove(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3); 1092EAPI void eina_hash_list_remove(Eina_Hash *hash, const void *key, const void *data) EINA_ARG_NONNULL(1, 2, 3);