mlx-sys 0.0.10-alpha

Rust bindings for mlx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! TODO: maybe leave IO entirely to rust?

#[cxx::bridge(namespace = "mlx::core::io")]
pub mod ffi {
    unsafe extern "C++" {
        include!("mlx/io/load.h");

        type Reader;

        type Writer;

        type FileReader;

        type FileWriter;
    }
}