Struct libffi::high::arity7::Cif7
[−]
[src]
pub struct Cif7<A, B, C, D, E, F, G, R> { /* fields omitted */ }
A typed CIF, which statically tracks argument and result types.
Methods
impl<A, B, C, D, E, F, G, R> Cif7<A, B, C, D, E, F, G, R>
[src]
pub fn new(
A: Type<A>,
B: Type<B>,
C: Type<C>,
D: Type<D>,
E: Type<E>,
F: Type<F>,
G: Type<G>,
result: Type<R>
) -> Self
[src]
A: Type<A>,
B: Type<B>,
C: Type<C>,
D: Type<D>,
E: Type<E>,
F: Type<F>,
G: Type<G>,
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.