cp_vector_destroy_custom(3) - Linux man page

Name

cp_vector_destroy, cp_vector_destroy_custom - delete a vector object

Synopsis

#include <cprops/vector.h>

void cp_vector_destroy(cp_vector *vector);

void cp_vector_destroy_custom(cp_vector *vector,

cp_destructor_fn dtr);

Description

cp_vector_destroy deallocates a vector object. cp_vector_destroy_custom does the same, but also allows specifying a destructor function dtr, which, if not is, is called on each item stored in the vector.

Referenced By

cp_vector_create_by_option(3)