Circular queue of integers.
More...
#include <cqueue.h>
|
| unsigned int | length |
| | The current number of items on the queue.
|
| |
| unsigned int | _max_length |
| | The maximum number of items that fits on the queue.
|
| |
| int | _current |
| | The index for the current item.
|
| |
| int | _last |
| | The index of the last item.
|
| |
| int * | data |
| | Pointer to queue data with allocated space to fit max_size items.
|
| |
Circular queue of integers.
Definition at line 6 of file cqueue.h.
◆ _current
The index for the current item.
Definition at line 10 of file cqueue.h.
◆ _last
The index of the last item.
Definition at line 11 of file cqueue.h.
◆ _max_length
| unsigned int cqueue::_max_length |
The maximum number of items that fits on the queue.
Definition at line 9 of file cqueue.h.
◆ data
Pointer to queue data with allocated space to fit max_size items.
Definition at line 12 of file cqueue.h.
◆ length
| unsigned int cqueue::length |
The current number of items on the queue.
Definition at line 8 of file cqueue.h.
The documentation for this struct was generated from the following file: