From e3a0d9a538d4446d75667cb4ba4b4cb42c594ae2 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Tue, 31 Oct 2023 12:49:25 -0400 Subject: [PATCH] Minor libclamav_rust doc and cbindgen typo fix --- libclamav_rust/cbindgen.toml | 6 +++--- libclamav_rust/src/ffi_util.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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) /// } /// ``` ///