eina: A few fixes for the Eina_List doc.

SVN revision: 60288
This commit is contained in:
Jonas M. Gastal 2011-06-13 17:46:22 +00:00
parent 245716afe5
commit aab43b7ead
3 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ main(int argc, char **argv)
if (l->data != data)
return 1;
list = eina_list_sort(list, eina_list_count(list), cmp_func);
list = eina_list_sort(list, 0, cmp_func);
data = eina_list_search_sorted(list, cmp_func, "starbuck");
l = eina_list_search_sorted_list(list, cmp_func, "starbuck");
@ -43,7 +43,7 @@ main(int argc, char **argv)
l = eina_list_search_sorted_list(list, cmp_func, "boomer");
list = eina_list_split_list(list, l, &other_list);
other_list = eina_list_sort(other_list,eina_list_count(other_list),cmp_func);
other_list = eina_list_sort(other_list, 0, cmp_func);
list = eina_list_sorted_merge(list, other_list, cmp_func);

View File

@ -27,8 +27,6 @@ main(int argc, char **argv)
EINA_LIST_FREE(list, list_data)
eina_stringshare_del(list_data);
eina_list_free(list);
eina_shutdown();
return 0;

View File

@ -207,6 +207,8 @@
*
* And now we need to free up the memory allocated during creation of the list:
* @until stringshare_del
* @note We don't need to use eina_list_free() since @ref EINA_LIST_FREE takes
* care of that.
*
* And shut everything down:
* @until }