CVector 4.3.0
A C++ style vector library in strict ANSI C (C89)
Loading...
Searching...
No Matches
Data Fields
cvector_TYPE Struct Reference

Data structure for TYPE vector. More...

#include "cvector_template.h"

Data Fields

TYPEa
 Array.
 
cvec_sz size
 Current size (amount you use when manipulating array directly).
 
cvec_sz capacity
 Allocated size of array; always >= size.
 
void(* elem_free )(void *)
 
int(* elem_init )(void *, void *)
 

Detailed Description

Data structure for TYPE vector.

Definition at line 19 of file cvector_template.h.

Field Documentation

◆ a

TYPE * cvector_TYPE::a

Array.

Definition at line 21 of file cvector_template.h.

◆ capacity

cvec_sz cvector_TYPE::capacity

Allocated size of array; always >= size.

Definition at line 23 of file cvector_template.h.

◆ elem_free

void(* cvector_TYPE::elem_free) (void *)

Definition at line 24 of file cvector_template2.h.

◆ elem_init

int(* cvector_TYPE::elem_init) (void *, void *)

Definition at line 25 of file cvector_template2.h.

◆ size

cvec_sz cvector_TYPE::size

Current size (amount you use when manipulating array directly).

Definition at line 22 of file cvector_template.h.


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