mlx_vector_int_get function

  1. @Native<Int Function(Pointer<Int>, mlx_vector_int, Size)>(ffi.Pointer<ffi.Int>, mlx_vector_int, ffi.Size)>()
int mlx_vector_int_get(
  1. Pointer<Int> res,
  2. mlx_vector_int vec,
  3. int idx
)

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Int>, mlx_vector_int, ffi.Size)>()
external int mlx_vector_int_get(
  ffi.Pointer<ffi.Int> res,
  mlx_vector_int vec,
  int idx,
);