38template<
typename T, const
size_t N>
40template<
typename T, const
size_t N>
41RESULT_T<T>
Dequeue(QUEUE_ROOT_T<T, N>& tQueue);
42template<
typename T, const
size_t N>
43RESULT_T<T*>
QueuePeek(QUEUE_ROOT_T<T, N>& tQueue);
45template<
typename T, const
size_t N>
53 tNew.tRoot.iStartIndex = 0;
54 tNew.tRoot.zLength = 0;
63template<
typename T, const
size_t N>
80template<
typename T, const
size_t N>
94template<
typename T, const
size_t N>
109template<
typename T, const
size_t N>
111template<
typename T, const
size_t N>
113template<
typename T, const
size_t N>
116template<
typename T, const
size_t N>
124 tNew.tRoot.zLength = 0;
135template<
typename T, const
size_t N>
151template<
typename T, const
size_t N>
165template<
typename T, const
size_t N>
#define JUNO_MODULE_ARG(...)
Pass-through argument pack helper for module macros.
Definition module.h:91
#define JUNO_MODULE_DERIVE(ROOT_T,...)
Implement a derived module embedding the root as the first member.
Definition module.h:157
#define JUNO_STATUS_ERR
Unspecified error.
Definition status.h:58
#define JUNO_STATUS_INVALID_SIZE_ERROR
Provided size or alignment was invalid or unsupported.
Definition status.h:68
#define JUNO_STATUS_SUCCESS
Operation completed successfully.
Definition status.h:56
void(* JUNO_FAILURE_HANDLER_T)(JUNO_STATUS_T tStatus, const char *pcCustomMessage, JUNO_USER_DATA_T *pvUserData)
Failure handler callback signature.
Definition status.h:104
int32_t JUNO_STATUS_T
Canonical status type for LibJuno functions.
Definition status.h:49
#define JUNO_FAIL(tStatus, pfcnFailureHandler, pvFailureUserData, pcMessage)
Invoke a failure handler if provided.
Definition status.h:123
void JUNO_USER_DATA_T
Opaque user data type for failure callbacks.
Definition status.h:96
Module system and dependency injection primitives for LibJuno.
RESULT_T< T > Dequeue(QUEUE_ROOT_T< T, N > &tQueue)
Definition juno_buff.hpp:64
JUNO_STATUS_T Enqueue(QUEUE_ROOT_T< T, N > &tQueue, T tData)
Definition juno_buff.hpp:81
JUNO_STATUS_T Push(STACK_ROOT_T< T, N > &tStack, T tData)
Definition juno_buff.hpp:152
RESULT_T< T * > StackPeek(STACK_ROOT_T< T, N > &tStack)
Definition juno_buff.hpp:166
RESULT_T< T > Pop(STACK_ROOT_T< T, N > &tStack)
Definition juno_buff.hpp:136
RESULT_T< T * > QueuePeek(QUEUE_ROOT_T< T, N > &tQueue)
Definition juno_buff.hpp:95
Definition buff_api.hpp:36
Status codes and failure-handling helpers for LibJuno.
JUNO_STATUS_T tStatus
Definition module.hpp:30
T tOk
Definition module.hpp:31