GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_vec Struct Reference

A growable vector. More...

#include <gp_vec.h>

Data Fields

size_t unit
 
size_t capacity
 
size_t length
 
char payload []
 

Detailed Description

A growable vector.

Definition at line 30 of file gp_vec.h.

Field Documentation

◆ capacity

size_t gp_vec::capacity

Total capacity in units

Definition at line 34 of file gp_vec.h.

◆ length

size_t gp_vec::length

No. of used elements in units

Definition at line 36 of file gp_vec.h.

◆ payload

char gp_vec::payload[]

Start of the buffer data

Definition at line 38 of file gp_vec.h.

◆ unit

size_t gp_vec::unit

No. bytes in one element in the vec

Definition at line 32 of file gp_vec.h.


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