GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A circular buffer indexes. More...
#include <gp_cbuffer.h>
Data Fields | |
size_t | last |
size_t | used |
size_t | size |
A circular buffer indexes.
Definition at line 19 of file gp_cbuffer.h.
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_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().
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().