Docs » Autodocs » amiga.lib » NewList
NewList -- prepare a list structure for use
NewList(list) VOID NewList(struct List *); VOID NewList(struct MinList *);
Perform the magic needed to prepare a List header structure for use; the list will be empty and ready to use. (If the list is the full featured type, you may need to initialize lh_Type afterwards) Assembly programmers may want to use the NEWLIST macro instead.
list - pointer to a List or MinList.
<exec/lists.h>
|