cp_vector *cp_vector_create_by_option(int size,
int mode,
cp_copy_fn copy_item,
cp_destructor_fn free_item);
cp_vector *cp_vector_create(int size);
cp_vector *cp_vector_wrap(void **data, int len, int mode);
void cp_vector_destroy(cp_vector *v);
void cp_vector_destroy_custom(cp_vector *v, cp_destructor_fn dtr);
void *cp_vector_add_element(cp_vector *v, void *element);
void *cp_vector_set_element(cp_vector *v, int index, void *element);
void *cp_vector_element_at(cp_vector *v, int index);
int cp_vector_size(cp_vector *v);
For more detailed descriptions see the man pages for the individual functions.
This document was created by
man2html,
using the manual pages. Time: 23:42:32 GMT, May 09, 2006 |