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:
parent
2d25b114e6
commit
a71ad8e861
2 changed files with 0 additions and 20 deletions
|
@ -55,23 +55,6 @@ _cogl_list_remove (CoglList *elm)
|
||||||
elm->prev = NULL;
|
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
|
int
|
||||||
_cogl_list_empty (CoglList *list)
|
_cogl_list_empty (CoglList *list)
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,9 +75,6 @@ _cogl_list_insert (CoglList *list,
|
||||||
void
|
void
|
||||||
_cogl_list_remove (CoglList *elm);
|
_cogl_list_remove (CoglList *elm);
|
||||||
|
|
||||||
int
|
|
||||||
_cogl_list_length (CoglList *list);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
_cogl_list_empty (CoglList *list);
|
_cogl_list_empty (CoglList *list);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue