macro_rules! functions {
($library:path; $(
$(#[$meta:meta])*
pub fn $name:ident($($argument:ident: $type:ty),* $(,)?) $(-> $result:ty)?;
)*) => { ... };
($library:path; $(#[$meta:meta])* pub static $name:ident: $type:ty;) => { ... };
}Expand description
Turns the declarations of an extern "C" block, as bindgen writes them, into functions of the same names and signatures that look up their symbol in $library on first call.