LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
juno::buff::STACK_API_T< T, N > Struct Template Reference

The stack buffer api. More...

#include <buff_api.hpp>

Collaboration diagram for juno::buff::STACK_API_T< T, N >:

Data Fields

JUNO_STATUS_T(* Push )(STACK_ROOT_T< T, N > &tStack, T tData)
 Push data onto the stack buffer.
 
RESULT_T< T >(* Pop )(STACK_ROOT_T< T, N > &tStack)
 Pop data from the stack buffer.
 
RESULT_T< T * >(* Peek )(STACK_ROOT_T< T, N > &tStack)
 Peek into data on the stack buffer.
 

Detailed Description

template<typename T, const size_t N>
struct juno::buff::STACK_API_T< T, N >

The stack buffer api.

The stack API.

Field Documentation

◆ Peek

template<typename T , const size_t N>
RESULT_T< T * >(* juno::buff::STACK_API_T< T, N >::Peek) (STACK_ROOT_T< T, N > &tStack)

Peek into data on the stack buffer.

◆ Pop

template<typename T , const size_t N>
RESULT_T< T >(* juno::buff::STACK_API_T< T, N >::Pop) (STACK_ROOT_T< T, N > &tStack)

Pop data from the stack buffer.

◆ Push

Push data onto the stack buffer.


The documentation for this struct was generated from the following file: