![]() |
A fast, non-thread-safe dynamic queue implementation. as_queue is not part of the generic as_val family.
Definition at line 35 of file as_queue.h.
#include "as_queue.h"
Data Fields | |
uint32_t | capacity |
uint8_t * | data |
uint32_t | flags |
uint32_t | head |
uint32_t | item_size |
uint32_t | tail |
uint32_t as_queue::capacity |
The total number of items allocated.
Definition at line 44 of file as_queue.h.
uint8_t* as_queue::data |
The block of items in the queue.
Definition at line 39 of file as_queue.h.
uint32_t as_queue::flags |
Internal queue flags.
Definition at line 64 of file as_queue.h.
uint32_t as_queue::head |
Item offset of head.
Definition at line 49 of file as_queue.h.
uint32_t as_queue::item_size |
The size of a single item.
Definition at line 59 of file as_queue.h.
uint32_t as_queue::tail |
Item offset of tail.
Definition at line 54 of file as_queue.h.