Macro starnix_uapi::release_on_error
source · macro_rules! release_on_error { ($releasable_name:ident, $context:expr, $body:block ) => { ... }; }
Expand description
Macro that ensure the releasable is released with the given context if the body returns an error.