Xiqual 0.9.1

In file xitools/list_new.c:

List* list_new

(void (*destructor)())

Create a new List and set the destructor.

Documentation

Create a new List and set the destructor. If no destructor is specified, a simple free() will be called on items in list_delete().
Parameters:
destructor - A function used to delete each Node. The only parameter is a Node pointer.
Returns:
If all is well, a pointer to a List
Author:
Ronny Bangsund
See Also:
List, Node, list_newitem(), list_add(), list_remove(), list_delete(), list_free()

Alphabetic index



This page was generated with the help of DOC++.