mlx_device_get_index function
- @Native<Int Function(Pointer<
Int> , mlx_device)>(ffi.Pointer<ffi.Int>, mlx_device)>()
- Pointer<
Int> index, - mlx_device dev
Returns the index of the device.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Int>, mlx_device)>()
external int mlx_device_get_index(ffi.Pointer<ffi.Int> index, mlx_device dev);