Data Structures | |
struct | default_user_allocator_malloc_free |
Malloc memory allocator. More... | |
struct | user_allocator_aligned_malloc |
Memory allocation for aligned buffers. More... | |
Functions | |
void * | aligned_malloc (std::size_t alignment, std::size_t size) |
Aligned memory allocation. | |
void | aligned_free (void *ptr) |
Free an aligned buffer. | |
Allocators for allocating memory buffers
struct arm_cmsis_dsp::default_user_allocator_malloc_free |
Malloc memory allocator.
Static Public Member Functions | |
static char * | malloc (const std::size_t bytes) |
Allocate a buffer. | |
static void | free (char *const block) |
Free a buffer. | |
|
inlinestatic |
Free a buffer.
block | The buffer to free |
|
inlinestatic |
Allocate a buffer.
[in] | bytes | The bytes |
struct arm_cmsis_dsp::user_allocator_aligned_malloc |
Memory allocation for aligned buffers.
Static Public Member Functions | |
static char * | malloc (const size_type bytes) |
Allocate a new buffer. | |
static void | free (char *const block) |
Free a buffer. | |
|
inlinestatic |
Free a buffer.
block | Pointer to the buffer |
|
inlinestatic |
Allocate a new buffer.
[in] | bytes | The bytes |
|
inline |
Free an aligned buffer.
ptr | The pointer |
|
inline |
Aligned memory allocation.
[in] | alignment | The alignment of the buffer |
[in] | size | The size of the buffer |