mockall::examples::mock_ffi

Function 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 #[automoock] mod ffi { extern ā€œCā€ { fn foo ā€¦ } }
Expand description

A foreign ā€œCā€ function.