void List_Append(List *list, void *obj)
Adds an object to the end of the list.
void List_Prepend(List *list, void *obj)
Adds an object to the beginning of the list.
void List_Remove(List *list, void *obj)
Deletes an object from the list.
void * List_GetPrev(const List *list, const void *obj)
Gets the object linked before the given one.
void List_Init(List *list, u16 offset)
Initializes the list.
void * List_GetNext(const List *list, const void *obj)
Gets the object linked after the given one.
void List_Insert(List *list, void *target, void *obj)
Inserts an object at a specified position in the list.
A doubly-linked list node. See List.
void * mpPrev
The previous linked object.
void * mpNext
The next linked object.
A doubly-linked list container. See Link.
void * mpHead
The first linked object.
u16 mCount
The linked object count.
u16 mOffset
The offset of the Link structure in each object.
void * mpTail
The last linked object.