Function colcon::convert_space_ffi
source · #[no_mangle]
pub extern "C" fn convert_space_ffi(
from: *const c_char,
to: *const c_char,
pixels: *mut f32,
len: usize
) -> i32Expand description
Same as convert_space_sliced but with FFI types.
Returns 0 on success, 1 on invalid from, 2 on invalid to, 3 on invalid pixels