1
0
Fork 0

cogl/list: Remove unused API

Ideally, I think we might have to replace CoglList usage
as the over-complicated macros makes it hard to parse

But that is a task for another day

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:
Bilal Elmoussaoui 2024-07-31 13:27:29 +02:00 committed by Marge Bot
parent 2d25b114e6
commit a71ad8e861
2 changed files with 0 additions and 20 deletions

View file

@ -55,23 +55,6 @@ _cogl_list_remove (CoglList *elm)
elm->prev = NULL;
}
int
_cogl_list_length (CoglList *list)
{
CoglList *e;
int count;
count = 0;
e = list->next;
while (e != list)
{
e = e->next;
count++;
}
return count;
}
int
_cogl_list_empty (CoglList *list)
{

View file

@ -75,9 +75,6 @@ _cogl_list_insert (CoglList *list,
void
_cogl_list_remove (CoglList *elm);
int
_cogl_list_length (CoglList *list);
int
_cogl_list_empty (CoglList *list);