Struct libffi::high::arity4::Cif4
[−]
[src]
pub struct Cif4<A, B, C, D, R> { /* fields omitted */ }
A typed CIF, which statically tracks argument and result types.
Methods
impl<A, B, C, D, R> Cif4<A, B, C, D, R>
[src]
pub fn new(
A: Type<A>,
B: Type<B>,
C: Type<C>,
D: Type<D>,
result: Type<R>
) -> Self
[src]
A: Type<A>,
B: Type<B>,
C: Type<C>,
D: Type<D>,
result: Type<R>
) -> Self
Creates a new statically-typed CIF with the given argument and result types.
pub fn set_abi(&mut self, abi: FfiAbi)
[src]
Sets the CIF to use the given calling convention.