From 0cec6dfacbaac5adb4377c9148f834a1df94c12d Mon Sep 17 00:00:00 2001 From: leif Date: Fri, 17 Feb 2012 10:48:49 +0000 Subject: [PATCH] rename 'size' param of eina_list_sort to 'limit' git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@68064 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/eina_list.h b/src/include/eina_list.h index db65e17..c8ef06d 100644 --- a/src/include/eina_list.h +++ b/src/include/eina_list.h @@ -881,13 +881,13 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS * @brief Sort a list according to the ordering func will return. * * @param list The list handle to sort. - * @param size The length of the list to sort. + * @param limit The maximum number of list elements to sort. * @param func A function pointer that can handle comparing the list data * nodes. * @return the new head of list. * * This function sorts @p list. @p size if the number of the first - * element to sort. If @p size is 0 or greater than the number of + * element to sort. If @p limit is 0 or greater than the number of * elements in @p list, all the elements are sorted. @p func is used to * compare two elements of @p list. If @p list or @p func are @c NULL, * this function returns @c NULL. @@ -920,7 +920,7 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS * * @warning @p list must be a pointer to the first element of the list. */ -EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT; +EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT; /** -- 2.7.4