2023-07-28 21:46:31 +08:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2023-09-08 02:29:15 +08:00
|
|
|
void lvgl_heap_init(void);
|
|
|
|
|
2023-07-28 21:46:31 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* ZEPHYR_MODULES_LVGL_MEM_H_ */
|