NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
list.hpp File Reference

Go to the source code of this file.

Classes

struct  nw4r::ut::Link
 A doubly-linked list node. See List. More...
 
struct  nw4r::ut::List
 A doubly-linked list container. See Link. More...
 

Namespaces

namespace  nw4r::ut
 Debugging library which includes various utilities used by the rest of nw4r.
 

Functions

void nw4r::ut::List_Init (List *list, u16 offset)
 Initializes the list.
 
void nw4r::ut::List_Append (List *list, void *obj)
 Adds an object to the end of the list.
 
void nw4r::ut::List_Prepend (List *list, void *obj)
 Adds an object to the beginning of the list.
 
void nw4r::ut::List_Insert (List *list, void *target, void *obj)
 Inserts an object at a specified position in the list.
 
void nw4r::ut::List_Remove (List *list, void *obj)
 Deletes an object from the list.
 
void * nw4r::ut::List_GetNext (const List *list, const void *obj)
 Gets the object linked after the given one.
 
void * nw4r::ut::List_GetPrev (const List *list, const void *obj)
 Gets the object linked before the given one.