👎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 … } }
Modules
- __ffi_funcDeprecated
Functions
- checkpointDeprecatedVerify that all current expectations for every function in this module are satisfied and clear them.
- ffi_func⚠DeprecatedA foreign “C” function.
- ffi_func_contextDeprecatedCreate a
Context
for mocking theffi_func
method