diff options
Diffstat (limited to 'libraries/eina/src/include/eina_list.h')
-rw-r--r-- | libraries/eina/src/include/eina_list.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/eina/src/include/eina_list.h b/libraries/eina/src/include/eina_list.h index db65e17..c8ef06d 100644 --- a/libraries/eina/src/include/eina_list.h +++ b/libraries/eina/src/include/eina_list.h | |||
@@ -881,13 +881,13 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS | |||
881 | * @brief Sort a list according to the ordering func will return. | 881 | * @brief Sort a list according to the ordering func will return. |
882 | * | 882 | * |
883 | * @param list The list handle to sort. | 883 | * @param list The list handle to sort. |
884 | * @param size The length of the list to sort. | 884 | * @param limit The maximum number of list elements to sort. |
885 | * @param func A function pointer that can handle comparing the list data | 885 | * @param func A function pointer that can handle comparing the list data |
886 | * nodes. | 886 | * nodes. |
887 | * @return the new head of list. | 887 | * @return the new head of list. |
888 | * | 888 | * |
889 | * This function sorts @p list. @p size if the number of the first | 889 | * This function sorts @p list. @p size if the number of the first |
890 | * element to sort. If @p size is 0 or greater than the number of | 890 | * element to sort. If @p limit is 0 or greater than the number of |
891 | * elements in @p list, all the elements are sorted. @p func is used to | 891 | * elements in @p list, all the elements are sorted. @p func is used to |
892 | * compare two elements of @p list. If @p list or @p func are @c NULL, | 892 | * compare two elements of @p list. If @p list or @p func are @c NULL, |
893 | * this function returns @c NULL. | 893 | * this function returns @c NULL. |
@@ -920,7 +920,7 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS | |||
920 | * | 920 | * |
921 | * @warning @p list must be a pointer to the first element of the list. | 921 | * @warning @p list must be a pointer to the first element of the list. |
922 | */ | 922 | */ |
923 | EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT; | 923 | EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT; |
924 | 924 | ||
925 | 925 | ||
926 | /** | 926 | /** |