Function flipperzero_sys::simple_array_get

source ·
pub unsafe extern "C" fn simple_array_get(
    instance: *mut SimpleArray,
    index: u32,
) -> *mut SimpleArrayElement
Expand description

Get a pointer to an element contained in a SimpleArray instance.

§Arguments

  • [in] - instance Pointer to the SimpleArray instance to get an element from
  • [in] - index Index of the element in question. MUST be less than total element count

§Returns

Pointer to the element specified by index