Xiqual 0.9.1

In file xitools/list_newitem.c:

Node* list_newitem

(List* list,
  void* data)

Allocates a new Node structure.


Allocates a new Node structure. The node will be initialised with data and inserted into list. If list is NULL, it merely creates the new Node and returns a pointer to it.
list - An optional struct List to insert Node item into
- data Data for the data element in the created node. Optional.
A pointer to a Node, with all three fields initialised
Ronny Bangsund
See Also:
List, Node, list_new(), list_add(), list_remove(), list_delete()

Alphabetic index

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