list->destroy (ul_oocbs)
destroy(list.s.r)
This is the destructor method for instances of the List object.
It frees the memory used by the List. Be sure to use it when you
are finished with an instance of a List. Failure to destroy unused
Lists will result in memory leaks.
list a pointer to the list (structure of type List)
This function returns:
nothing
Use of this class requires the following header files:
list.h
Related functions:
create_List() the constructor for instances of the List class
C/C++ usage:
#include "list.h"
List *list;
(*list->destroy)(list);