SLD_UINT sld_list_size(struct sld_list *list)
Returns the size of a sld_list.
Definition: list.c:55
void * object
Definition: list.h:38
void * sld_list_get(struct sld_list *list, SLD_UINT index)
Returns an object from an sld_list at index.
Definition: list.c:148
SLD_SSINT sld_list_add(struct sld_list *list, void *object)
Adds an object to a sld_list.
Definition: list.c:60
void sld_list_delete(struct sld_list *list, SLD_UINT index)
Removes an object from a sld_list at the specified index.
Definition: list.c:105
struct sld_node * previous
Definition: list.h:40
signed short int SLD_SSINT
Definition: types.h:47
SLD_UINT size
Definition: list.h:46
struct sld_node * next
Definition: list.h:39
void sld_list_free(struct sld_list *list)
Frees any memory allocated for an initialized sld_list.
Definition: list.c:183
unsigned int SLD_UINT
Definition: types.h:56
struct sld_node * head
Definition: list.h:47
SLD_SSINT sld_list_init(struct sld_list *list)
Initializes a sld_list.
Definition: list.c:32
void * sld_list_pop(struct sld_list *list)
Returns and removes the last object in a sld_list.
Definition: list.c:173