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