lv_array_push_back() function
Push back element. Adds a new element to the end of the array. If the array capacity is not enough for the new element, the array will be resized automatically.
Arguments
array
pointer to an `lv_array_t` variable
element
pointer to the element to add
Return value
LV_RESULT_OK: success, otherwise: error
![]()
lv_array_push_back(list, &dsc);
lv_array_push_back() is called by 1 function and calls 2 functions:
![]()
lv_array_push_back()
lv_array_push_back() reads 5 variables and writes 1 variable:
![]()
lv_array_push_back()