Add lv_deinit function (#1319)

This commit is contained in:
Amir Gonnen
2019-12-22 01:35:00 +02:00
committed by embeddedt
parent ef071d02a7
commit 248868fef1
6 changed files with 71 additions and 15 deletions

View File

@@ -269,6 +269,15 @@ typedef struct
*/
void lv_init(void);
/**
* Deinit the 'lv' library
* Currently only implemented when not using custorm allocators, or GC is enabled.
*/
#if LV_ENABLE_GC || !LV_MEM_CUSTOM
void lv_deinit(void);
#endif
/*--------------------
* Create and delete
*-------------------*/