A simple 'safe array' implementation. More...
#include <vector.h>
Data Fields | |
| void ** | mem |
| Pointer to memory. | |
| int | size |
| size of vector (element count) | |
| int | head |
| index of 1st element | |
| int | tail |
| index of Nth element | |
| int | mode |
| collection mode | |
| cp_copy_fn | copy_item |
| item copy function | |
| cp_destructor_fn | free_item |
| item destructor function | |
| cp_lock * | lock |
| rwlock | |
A simple 'safe array' implementation.
1.7.1