Data Fields

_cp_vector Struct Reference

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

Detailed Description

A simple 'safe array' implementation.


The documentation for this struct was generated from the following file: