mlx_array_set_bool function

  1. @Native<Int Function(Pointer<mlx_array>, Bool)>(ffi.Pointer<mlx_array>, ffi.Bool)>()
int mlx_array_set_bool(
  1. Pointer<mlx_array> arr,
  2. bool val
)

Set array to a bool scalar.

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_array>, ffi.Bool)>()
external int mlx_array_set_bool(ffi.Pointer<mlx_array> arr, bool val);