|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Array API vtable. More...
#include <array_api.h>
Data Fields | |
| JUNO_STATUS_T(* | SetAt )(JUNO_DS_ARRAY_ROOT_T *ptArray, JUNO_POINTER_T tItem, size_t iIndex) |
| Set the value at an index. | |
| JUNO_RESULT_POINTER_T(* | GetAt )(JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| Get the value at an index. | |
| JUNO_STATUS_T(* | RemoveAt )(JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| Remove a value at an index. | |
Array API vtable.
| JUNO_RESULT_POINTER_T(* JUNO_DS_ARRAY_API_TAG::GetAt) (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
Get the value at an index.
| ptArray | Array instance. |
| iIndex | Index into the backing storage. |
| JUNO_STATUS_T(* JUNO_DS_ARRAY_API_TAG::RemoveAt) (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
Remove a value at an index.
| ptArray | Array instance. |
| iIndex | Index into the backing storage. |
| JUNO_STATUS_T(* JUNO_DS_ARRAY_API_TAG::SetAt) (JUNO_DS_ARRAY_ROOT_T *ptArray, JUNO_POINTER_T tItem, size_t iIndex) |
Set the value at an index.
| ptArray | Array instance. |
| tItem | Pointer descriptor describing the value to copy into slot iIndex. |
| iIndex | Index into the backing storage (0 <= iIndex < zCapacity). |