| ||
| Home | Modules | Examples |
Go to the source code of this file.
Data Structures | |
| struct | _Vector |
Typedefs | |
| typedef _Vector * | Vector |
Functions | |
| Vector | VCreate (int typeSize, int minSize, int clear) |
| Creates a growable array (or NULL if memory error). | |
| void | VDestroy (Vector v) |
| Destroys a growable array (or does nothing if passed NULL). | |
| int | VSize (Vector v) |
| Returns the number of elements currently used. | |
| void * | VIndex (Vector v, int i) |
| Returns a pointer to the index i. | |
|
|
|
|
||||||||||||||||
|
Creates a growable array (or NULL if memory error). If clear is TRUE, then unused memory will always be zero. |
|
|
Destroys a growable array (or does nothing if passed NULL).
|
|
||||||||||||
|
Returns a pointer to the index i. If i is larger than the array, it will be expanded to at least i. If an expansion fails, returns NULL. |
|
|
Returns the number of elements currently used.
|
1.3.6