Function mockall::examples::mock_ffi::ffi_func

source ยท
pub unsafe fn ffi_func()
๐Ÿ‘ŽDeprecated since 0.9.0: Using automock directly on an extern block is deprecated. Instead, wrap the extern block in a module, and automock that, like #[automock] mod ffi { extern โ€œCโ€ { fn foo โ€ฆ } }
Expand description

A foreign โ€œCโ€ function.