Go to the source code of this file.
◆ mlx_getzdata()
Definition at line 118 of file mlx_list.c.
119{
121
122 return (
queue->image->instances[
queue->instanceid].z);
123}
GLuint GLsizei GLsizei * length
◆ mlx_insertsort()
Definition at line 126 of file mlx_list.c.
127{
129
133 {
137 }
138 else
139 {
141
142
146
147
152 }
153}
static int32_t mlx_getzdata(mlx_list_t *entry)
◆ mlx_lstadd_back()
Definition at line 67 of file mlx_list.c.
68{
70 return;
73 else
74 {
78 }
79}
mlx_list_t * mlx_lstlast(mlx_list_t *lst)
◆ mlx_lstadd_front()
Definition at line 81 of file mlx_list.c.
82{
84 return;
86 (*lst)->prev = new;
90}
◆ mlx_lstclear()
Definition at line 33 of file mlx_list.c.
34{
36
38 {
42 }
43}
static void mlx_lstdelone(mlx_list_t *lst, void(*del)(void *))
◆ mlx_lstdelone()
◆ mlx_lstlast()
◆ mlx_lstnew()
All sorts of internal functions shared in the library that should not be accessible to the user! No touch!
Definition at line 45 of file mlx_list.c.
◆ mlx_lstremove()
Removes the specified content from the list, if found. Also fixes any relinking that might be needed.
- Parameters
-
[in] | lst | The list |
[in] | comp | Function to check if the content and value are the same. |
- Returns
- The removed element, clean up as you wish.
Definition at line 100 of file mlx_list.c.
◆ mlx_lstsize()
◆ mlx_sort_renderqueue()
Okay-ish sorting algorithm to sort the render queue / doubly linked list. We need to do this to fix transparency.
- Parameters
-
Definition at line 161 of file mlx_list.c.
162{
165
167 {
169
170
174 }
176}
static void mlx_insertsort(mlx_list_t **head, mlx_list_t *new)