Macro libcryptsetup_rs::c_confirm_callback
source · macro_rules! c_confirm_callback { ( $fn_name:ident, $type:ty, $safe_fn_name:ident ) => { ... }; }
Expand description
Create a C-compatible callback to determine user confirmation which wraps safe Rust code