list_add function <BLOC/list.h>
The list_add function adds an object to a list. If the list has a type requirement, and the object does not match, the call will return instantly.
Syntax
void list_add( List *list, void *obj );
Parameters
list
A pointer to a List object.
obj
A pointer to the object to be added to the list. The list will take a reference to the object internally.