41 #include "gui_utils.h" size_t gui_mem_getminfree(void)
Get minimal available number of bytes ever for allocation.
Definition: gui_mem.c:454
void * gui_mem_calloc(size_t num, size_t size)
Allocate memory of specific size and set memory to zero.
Definition: gui_mem.c:404
void * start_address
Definition: gui_mem.h:54
size_t gui_mem_getfull(void)
Get total currently allocated memory in regions.
Definition: gui_mem.c:444
void gui_mem_free(void *ptr)
Free memory.
Definition: gui_mem.c:420
uint8_t gui_mem_assignmemory(const gui_mem_region_t *regions, size_t size)
Assign memory region(s) for allocation functions.
Definition: gui_mem.c:466
mem_region_t gui_mem_region_t
Wrapper for memory region for GUI.
Definition: gui_mem.h:61
size_t size
Definition: gui_mem.h:55
Single memory region descriptor.
Definition: gui_mem.h:53
void * gui_mem_alloc(uint32_t size)
Allocate memory of specific size.
Definition: gui_mem.c:368
void * gui_mem_realloc(void *ptr, size_t size)
Allocate memory of specific size.
Definition: gui_mem.c:388
size_t gui_mem_getfree(void)
Get total free size still available in memory to allocate.
Definition: gui_mem.c:434