18#include "pw_allocator/allocator.h"
19#include "pw_bytes/span.h"
20#include "pw_malloc/config.h"
21#include "pw_preprocessor/util.h"
57template <
typename AllocatorType>
67void pw_MallocInit(uint8_t* heap_low_addr, uint8_t* heap_high_addr);
107template <
typename AllocatorType>
109 static bool initialized =
false;
110 PW_ASSERT(!initialized);
112 allocator->Init(heap);
Definition: allocator.h:36
const PW_MALLOC_METRICS_TYPE & UpdateSystemMetrics()
Allocator * GetSystemAllocator()
#define PW_MALLOC_METRICS_TYPE
Definition: config.h:36
void InitSystemAllocator(ByteSpan heap)
Replacement interface for standard libc dynamic memory operations.
Definition: malloc.h:24