Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

array_list Struct Reference

Array list struct. More...

#include <util.h>


Data Fields

anything_t * arr
 Array containing the data.
size_t pos
 Internal cursor position of the array_list_t.
size_t size
 Amount of memory allocated in arr, expressed in number of elements.


Detailed Description

Array list struct.

A dynamically growing list that supports stack operations.


Field Documentation

size_t array_list::pos
 

Internal cursor position of the array_list_t.

This is the position to append elements at. This is also what the array_list_t considers to be its true size, as reported by al_get_count(), etc. Calls to e.g. al_insert will preserve the values of all elements up to pos.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 13 02:53:28 2008 for fish by  doxygen 1.4.4