cp_vector

Section: libcprops - cp_vector (3)
Updated: MARCH 2006
Index Return to Main Contents
 

NAME

cp_vector - a managed array type  

INTERFACE

the following is a summary of functions provided by <cprops/vector.h>.

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);  

DESCRIPTION

cp_vector is a managed array type.

For more detailed descriptions see the man pages for the individual functions.


 

Index

NAME
INTERFACE
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 23:42:32 GMT, May 09, 2006
SourceForge.net Logo