LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
Queue API

Data Structures

struct  JUNO_DS_QUEUE_API_TAG
 Queue API vtable. More...
 

Functions

struct JUNO_DS_QUEUE_ROOT_TAG JUNO_MODULE_ROOT (JUNO_DS_QUEUE_API_T, JUNO_DS_ARRAY_ROOT_T *ptQueueArray;size_t iStartIndex;size_t zLength;)
 The queue root module instance.
 

Detailed Description

A lightweight, fixed-capacity FIFO queue that stores elements in a circular buffer backed by a Juno Array instance. The queue uses JUNO_POINTER_T to copy elements into the backing array and to return them.

Characteristics:

Invariants:

Error behavior (per implementation):

Element ownership:

Function Documentation

◆ JUNO_MODULE_ROOT()

struct JUNO_DS_QUEUE_ROOT_TAG JUNO_MODULE_ROOT ( JUNO_DS_QUEUE_API_T  ,
JUNO_DS_ARRAY_ROOT_T *ptQueueArray;size_t iStartIndex;size_t zLength;   
)

The queue root module instance.

Queue root instance and state.