Function mockall::examples::mock_ffi::ffi_func[][src]

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 #[automoock] mod ffi { extern "C" { fn foo ... } }

A foreign "C" function.