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

A circular buffer indexes. More...

#include <gp_cbuffer.h>

Data Fields

size_t last
 
size_t used
 
size_t size
 

Detailed Description

A circular buffer indexes.

Definition at line 19 of file gp_cbuffer.h.

Field Documentation

◆ last

size_t gp_cbuffer::last

Points one position after last inserted element

Definition at line 21 of file gp_cbuffer.h.

Referenced by gp_cbuffer_append(), gp_cbuffer_first(), gp_cbuffer_init(), and gp_cbuffer_last().

◆ size

size_t gp_cbuffer::size

The buffer maximal size

Definition at line 25 of file gp_cbuffer.h.

Referenced by gp_cbuffer_append(), gp_cbuffer_first(), gp_cbuffer_init(), gp_cbuffer_next(), and gp_cbuffer_prev().

◆ used

size_t gp_cbuffer::used

The number of used buffer positions

Definition at line 23 of file gp_cbuffer.h.

Referenced by gp_cbuffer_append(), gp_cbuffer_first(), gp_cbuffer_init(), and gp_cbuffer_used().


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