Macro libc::macros::safe_f

source ยท
macro_rules! safe_f {
    ($(
                $(#[$attr:meta])*
                pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty
                    $body:block
            )*) => { ... };
}
Expand description

Define a safe function that is const as long as libc_const_extern_fn is enabled.