lv_pending.h
API reference for lv_pending.h
Summary
Functions
private/misc/lv_pending.h:55function
lv_pending_set_free_cb
Set a free callback for the pending list
void lv_pending_set_free_cb(lv_pending_t *pending, lv_pending_free_cb_t free_cb, void *user_data)| Name | Type | Description |
|---|---|---|
pending | lv_pending_t * | pointer to the pending list |
free_cb | lv_pending_free_cb_t | the free callback |
user_data | void * | user data to pass to the free callback May be NULL. |
private/misc/lv_pending.h:41function
lv_pending_create
Create a pending list
lv_pending_t * lv_pending_create(size_t obj_size, uint32_t capacity_default)| Name | Type | Description |
|---|---|---|
obj_size | size_t | the size of the objects in the list |
capacity_default | uint32_t | the default capacity of the list |
Returns: lv_pending_t * — a pointer to the pending list
private/misc/lv_pending.h:47function
lv_pending_destroy
Destroy a pending list
void lv_pending_destroy(lv_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_pending_t * | pointer to the pending list |
private/misc/lv_pending.h:63function
lv_pending_add
Add an object to the pending list
void lv_pending_add(lv_pending_t *pending, void *obj)| Name | Type | Description |
|---|---|---|
pending | lv_pending_t * | pointer to the pending list |
obj | void * | pointer to the object to add |
private/misc/lv_pending.h:69function
lv_pending_remove_all
Remove all objects from both pending lists
void lv_pending_remove_all(lv_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_pending_t * | pointer to the pending list |
private/misc/lv_pending.h:75function
lv_pending_swap
Remove all old object references and swap new object references
void lv_pending_swap(lv_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_pending_t * | pointer to the pending list |
Typedefs
private/misc/lv_pending.h:27typedef
lv_pending_t
typedef struct _lv_pending_t lv_pending_tUsed by 5 functions
lv_pending_destroy— parampendinglv_pending_set_free_cb— parampendinglv_pending_add— parampendinglv_pending_remove_all— parampendinglv_pending_swap— parampending
private/misc/lv_pending.h:29typedef
lv_pending_free_cb_t
typedef void(* lv_pending_free_cb_t) (void *obj, void *user_data)Used by 1 function
lv_pending_set_free_cb— paramfree_cb
Dependencies
lvgl_public.h
Last updated on