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

Functions

struct JUNO_DS_STACK_ROOT_TAG JUNO_MODULE_ROOT (JUNO_DS_STACK_API_T, JUNO_DS_ARRAY_ROOT_T *ptStackArray;size_t zLength;)
 Stack root instance and state.
 

Detailed Description

A deterministic, fixed-capacity stack (LIFO) backed by a Juno Array. Elements are copied using JUNO_POINTER_T when pushing and popping. Capacity is defined by the backing array. Non-thread-safe by default.

Characteristics:

Invariants:

Error behavior (per implementation):

Element ownership:

Function Documentation

◆ JUNO_MODULE_ROOT()

struct JUNO_DS_STACK_ROOT_TAG JUNO_MODULE_ROOT ( JUNO_DS_STACK_API_T  ,
JUNO_DS_ARRAY_ROOT_T *ptStackArray;size_t zLength;   
)

Stack root instance and state.