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]
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
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.
fn set_abi(&mut self, abi: FfiAbi)
Sets the CIF to use the given calling convention.
impl<A: CType, B: CType, C: CType, D: CType, E: CType, F: CType, G: CType, R: CType> Cif7<A, B, C, D, E, F, G, R>
[src]
fn reify() -> Self
Creates a new statically-typed CIF by reifying the
argument types as Type<T>
s.