Skip to main content

mlx_array_data_int32

Function mlx_array_data_int32 

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

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