lv_draw_layer_alloc_buf

Function lv_draw_layer_alloc_buf 

Source
pub unsafe extern "C" fn lv_draw_layer_alloc_buf(
    layer: *mut lv_layer_t,
) -> *mut c_void
Expand description

Try to allocate a buffer for the layer. @param layer pointer to a layer @return pointer to the allocated aligned buffer or NULL on failure