simple_array_cget

Function simple_array_cget 

Source
pub unsafe extern "C" fn simple_array_cget(
    instance: *const SimpleArray,
    index: u32,
) -> *const SimpleArrayElement
Expand description

Get a const 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

Const pointer to the element specified by index