struct te_vec

Overview

Dynamic vector. More…

#include <te_vector.h>

struct te_vec {
    // fields

    te_dbuf data;
    size_t element_size;
    te_vec_item_destroy_fn* destroy;
};

Detailed Documentation

Dynamic vector.

Fields

te_dbuf data

Data of a vector.

size_t element_size

Size of one element.

te_vec_item_destroy_fn* destroy

Element destructor.