1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod bindings; pub fn mlx_init_rs() { unsafe { bindings::mlx_init(); } } #[cfg(test)] mod tests { use super::*; #[test] fn mlx_init_test() { mlx_init_rs(); } }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod bindings; pub fn mlx_init_rs() { unsafe { bindings::mlx_init(); } } #[cfg(test)] mod tests { use super::*; #[test] fn mlx_init_test() { mlx_init_rs(); } }