mlx_array_item_int32 function
Access the value of a scalar array.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Int32>, mlx_array)>()
external int mlx_array_item_int32(ffi.Pointer<ffi.Int32> res, mlx_array arr);
Access the value of a scalar array.
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Int32>, mlx_array)>()
external int mlx_array_item_int32(ffi.Pointer<ffi.Int32> res, mlx_array arr);