#include <memory_api.h>
◆ Get
Allocates memory using the specified memory allocation method.
- Parameters
-
ptMem | Pointer to the memory allocation structure. |
pvRetAddr | Pointer to a memory descriptor where allocation details will be stored. |
zSize | Size of the memory block to allocate in bytes. |
- Returns
- JUNO_STATUS_T Status of the allocation operation.
◆ Put
Frees an allocated memory block.
- Parameters
-
ptMem | Pointer to the memory allocation structure. |
pvAddr | Pointer to the memory block to free. |
- Returns
- JUNO_STATUS_T Status of the free operation.
◆ Update
Updates an existing memory allocation to a new size.
- Parameters
-
ptMem | Pointer to the memory allocation structure. |
ptMemory | Pointer to the memory descriptor to update. |
zNewSize | The new size for the memory block. |
- Returns
- JUNO_STATUS_T Status of the update operation.
The documentation for this struct was generated from the following file:
- /home/runner/work/libjuno/libjuno/include/juno/memory/memory_api.h