Skip to main content

mlx_array_data_int16

Function mlx_array_data_int16 

Source
pub unsafe extern "C" fn mlx_array_data_int16(
    arr: mlx_array,
) -> *const i16
Expand description

Returns a pointer to the array data, cast to int16_t*. Array must be evaluated, otherwise returns NULL.