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

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

#include "cvector.h"

Data Fields

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

Detailed Description

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

Definition at line 246 of file cvector.h.

Field Documentation

◆ a

cvec_u8 * cvector_void::a

Array.

Definition at line 248 of file cvector.h.

◆ capacity

cvec_sz cvector_void::capacity

Allocated size of array; always >= size.

Definition at line 250 of file cvector.h.

◆ elem_free

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

Definition at line 252 of file cvector.h.

◆ elem_init

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

Definition at line 253 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 251 of file cvector.h.

◆ size

cvec_sz cvector_void::size

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

Definition at line 249 of file cvector.h.


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