![]() |
microui
3.1.0
microui
|
This MicroUI images heap allocator replaces the default allocator embedded in the MicroUI Graphics Engine. It is using a best fit allocator and provides some additional APIs to retrieve the heap information: total space, free space, number of blocks allocated. More...
#include "microui_heap.h"
#include "BESTFIT_ALLOCATOR.h"
Go to the source code of this file.
Macros | |
#define | BESTFITALLOCATOR_HEADER_SIZE (68) |
#define | BESTFITALLOCATOR_BLOCK_SIZE(block) ((*(uint32_t*)((block)-sizeof(uint32_t))) & 0x7ffffff) |
This MicroUI images heap allocator replaces the default allocator embedded in the MicroUI Graphics Engine. It is using a best fit allocator and provides some additional APIs to retrieve the heap information: total space, free space, number of blocks allocated.
Definition in file LLUI_DISPLAY_HEAP_impl.c.