This commit is contained in:
randogoth 2025-01-18 20:24:50 +02:00
parent cb9c346533
commit 800d58ea89

View file

@ -26,14 +26,14 @@
// Original work is licensed under the terms specified in the respective file header. // Original work is licensed under the terms specified in the respective file header.
use std::ffi::{c_char, c_double, c_uchar, CStr}; use std::ffi::{c_char, c_double, CStr};
use crate::Onod; use crate::Onod;
#[no_mangle] #[no_mangle]
pub extern "C" fn onod_run( pub extern "C" fn onod_run(
test: *const c_char, test: *const c_char,
samples: *const c_uchar, samples: *const u8,
len: usize, len: usize,
result: *mut c_double, result: *mut c_double,
) -> bool { ) -> bool {