Object Oriented tollkit fo ANSI C
ListNode class - brief description.
The ListNode objects form the chain of the List. It has two pointers: one for the previous and one for the next ListNode in the List. You can create a more effective List, if your items are subclasses of ListNode class, and you create the List with list_new_of_nodes(). In this case your data are stored whithin the node, thus less
malloc() is called, and less space is used. Unlike "noded" Lists, normal Lists hold only a pointer in the ListNode to the data you put in the List, that needs an additional memory allocation for the ListNode.