| /* |
| * Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu> |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #ifndef ZEPHYR_MODULES_LVGL_MEM_H_ |
| #define ZEPHYR_MODULES_LVGL_MEM_H_ |
| |
| #include <stdlib.h> |
| #include <stdbool.h> |
| #include <zephyr/sys/mem_stats.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| void *lvgl_malloc(size_t size); |
| |
| void *lvgl_realloc(void *ptr, size_t size); |
| |
| void lvgl_free(void *ptr); |
| |
| void lvgl_print_heap_info(bool dump_chunks); |
| |
| void lvgl_heap_stats(struct sys_memory_stats *stats); |
| |
| void lvgl_heap_init(void); |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* ZEPHYR_MODULES_LVGL_MEM_H_ */ |