Skip to main content

lv_array_resize

Function lv_array_resize 

Source
pub unsafe extern "C" fn lv_array_resize(
    array: *mut lv_array_t,
    new_capacity: u32,
) -> bool
Expand description

Resize the array to the given capacity. @note if the new capacity is smaller than the current size, the array will be truncated. @param array pointer to an lv_array_t variable @param new_capacity the new capacity of the array