Xiqual 0.9.1

In file xitools/list_delete.c:

Node* list_delete

(List* list,
  Node* item)

Remove a Node from a List and free data.

Documentation

Remove a Node from a List and free data. If the List has been supplied with a destructor function, this will be called with item as its parameter. Otherwise, a simple call to free() will be made.
Parameters:
list - A struct List to remove item from, and also get a pointer to the destructor
item - A Node structure to remove from list
Returns:
A pointer to the next Node after item, or NULL.
Author:
Ronny Bangsund
See Also:
List, Node, list_new(), list_newitem(), list_add(), list_remove(), list_free()

Alphabetic index



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