зеркало из https://github.com/nextcloud/desktop.git
Rename c_list_previous to c_list_prev.
This commit is contained in:
Родитель
679927b5a9
Коммит
b54cb0fd66
|
@ -267,7 +267,7 @@ c_list_t *c_list_next(c_list_t *list) {
|
|||
/*
|
||||
* Gets the previous element in a c_list.
|
||||
*/
|
||||
c_list_t *c_list_previous(c_list_t *list) {
|
||||
c_list_t *c_list_prev(c_list_t *list) {
|
||||
if (list == NULL) {
|
||||
return NULL;
|
||||
} else {
|
||||
|
|
|
@ -164,16 +164,6 @@ c_list_t *c_list_remove(c_list_t *list, void *data);
|
|||
*/
|
||||
void c_list_free(c_list_t *list);
|
||||
|
||||
/**
|
||||
* Gets the previous element in a c_list.
|
||||
*
|
||||
* @param An element in a c_list.
|
||||
*
|
||||
* @return The previous element, or NULL if there are no more
|
||||
* elements.
|
||||
*/
|
||||
c_list_t *c_list_previous(c_list_t *list);
|
||||
|
||||
/**
|
||||
* Gets the next element in a c_list.
|
||||
*
|
||||
|
@ -184,6 +174,16 @@ c_list_t *c_list_previous(c_list_t *list);
|
|||
*/
|
||||
c_list_t *c_list_next(c_list_t *list);
|
||||
|
||||
/**
|
||||
* Gets the previous element in a c_list.
|
||||
*
|
||||
* @param An element in a c_list.
|
||||
*
|
||||
* @return The previous element, or NULL if there are no more
|
||||
* elements.
|
||||
*/
|
||||
c_list_t *c_list_prev(c_list_t *list);
|
||||
|
||||
/**
|
||||
* Gets the number of elements in a c_list
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче