Function libffi::middle::arg [] [src]

pub fn arg<T>(r: &T) -> Arg

Coerces an argument reference into the Arg type.

This is used to wrap each argument pointer before passing them to Cif::call. (This is the same as Arg::new).