CVector  4.1.0
A C++ style vector library in strict ANSI C (C89)
Data Fields
cvector_void Struct Reference

Data structure for generic type (cast to void) vectors. More...

#include "cvector.h"

Data Fields

cvec_u8a
 Array. More...
 
cvec_sz size
 Current size (amount you should use when manipulating array directly). More...
 
cvec_sz capacity
 Allocated size of array; always >= size. More...
 
cvec_sz elem_size
 Size in bytes of type stored (sizeof(T) where T is type). More...
 
void(* elem_free )(void *)
 
int(* elem_init )(void *, void *)
 

Detailed Description

Data structure for generic type (cast to void) vectors.

Definition at line 242 of file cvector.h.

Field Documentation

◆ a

cvec_u8 * cvector_void::a

Array.

Definition at line 244 of file cvector.h.

◆ capacity

cvec_sz cvector_void::capacity

Allocated size of array; always >= size.

Definition at line 246 of file cvector.h.

◆ elem_free

void(* cvector_void::elem_free)(void *)

Definition at line 248 of file cvector.h.

◆ elem_init

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

Definition at line 249 of file cvector.h.

◆ elem_size

cvec_sz cvector_void::elem_size

Size in bytes of type stored (sizeof(T) where T is type).

Definition at line 247 of file cvector.h.

◆ size

cvec_sz cvector_void::size

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

Definition at line 245 of file cvector.h.


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