diff --git a/libclamav_rust/cbindgen.toml b/libclamav_rust/cbindgen.toml index e13a2ff4d7..5e691885af 100644 --- a/libclamav_rust/cbindgen.toml +++ b/libclamav_rust/cbindgen.toml @@ -24,9 +24,9 @@ include = [ "fuzzy_hash::fuzzy_hash_calculate_image", "fuzzy_hash::fuzzy_hash_load_subsignature", "fuzzy_hash::fuzzy_hash_check", - "frs_error::FFIError", - "frs_error::ffierror_fmt", - "frs_error::ffierror_free", + "ffi_util::FFIError", + "ffi_util::ffierror_fmt", + "ffi_util::ffierror_free", "logging::clrs_eprint", "evidence::evidence_new", "evidence::evidence_free", diff --git a/libclamav_rust/src/ffi_util.rs b/libclamav_rust/src/ffi_util.rs index 70e107a12f..3d8b0a8e02 100644 --- a/libclamav_rust/src/ffi_util.rs +++ b/libclamav_rust/src/ffi_util.rs @@ -38,7 +38,7 @@ use std::{ /// /// Example (on the Rust side) /// ``` -/// use frs_error::{frs_result, FFIError}; +/// use ffi_util::{ffi_result, FFIError}; /// use num_traits::CheckedDiv; /// /// pub fn checked_div(numerator: T, denominator: T) -> Result @@ -150,7 +150,7 @@ macro_rules! rrf_call { /// // ... /// /// // Finally return -/// frs_result!(result_in = div_result, out = out, err = err) +/// ffi_result!(result_in = div_result, out = out, err = err) /// } /// ``` ///