macro_rules! shim_sig {
(extern $abi:literal fn($($arg:ty),*) -> $ret:ty) => { ... };
}
Expand description
Construct a ShimSig
with convenient syntax:
ⓘ
shim_sig!(this, extern "C" fn (*const T, i32) -> usize)