|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Abstract fixed-capacity array interface for DS modules. More...
#include "juno/macros.h"#include "juno/memory/pointer_api.h"#include "juno/status.h"#include "juno/module.h"#include <stddef.h>

Go to the source code of this file.
Data Structures | |
| struct | JUNO_DS_ARRAY_API_TAG |
| Array API vtable. More... | |
Typedefs | |
| typedef struct JUNO_DS_ARRAY_ROOT_TAG | JUNO_DS_ARRAY_ROOT_T |
| Opaque array root carrying capacity and API pointer. | |
| typedef struct JUNO_DS_ARRAY_API_TAG | JUNO_DS_ARRAY_API_T |
Functions | |
| struct JUNO_DS_ARRAY_ROOT_TAG | JUNO_MODULE_ROOT (JUNO_DS_ARRAY_API_T, size_t zCapacity;) |
| Array root with capacity. | |
| static JUNO_STATUS_T | JunoDs_ArrayApiVerify (const JUNO_DS_ARRAY_API_T *ptArrayApi) |
| Verify that the array API provides all required functions. | |
| static JUNO_STATUS_T | JunoDs_ArrayVerify (const JUNO_DS_ARRAY_ROOT_T *ptArray) |
| Verify an array instance's capacity and API. | |
| static JUNO_STATUS_T | JunoDs_ArrayVerifyIndex (const JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| Verify an index is within array capacity. | |
| static JUNO_STATUS_T | JunoDs_ArrayInit (JUNO_DS_ARRAY_ROOT_T *ptArray, const JUNO_DS_ARRAY_API_T *ptArrayApi, size_t iCapacity, JUNO_FAILURE_HANDLER_T pfcnFailureHdlr, JUNO_USER_DATA_T *pvUserData) |
| Initialize an array root with capacity and API. | |
Abstract fixed-capacity array interface for DS modules.
This API has been generated by LibJuno: https://www.robinonsay.com/libjuno/
| typedef struct JUNO_DS_ARRAY_API_TAG JUNO_DS_ARRAY_API_T |
| typedef struct JUNO_DS_ARRAY_ROOT_TAG JUNO_DS_ARRAY_ROOT_T |
Opaque array root carrying capacity and API pointer.
|
inlinestatic |
Verify that the array API provides all required functions.