Type Definition libffi::low::Callback [] [src]

type Callback<U, R> = unsafe extern fn(_: &ffi_cif, _: &mut R, _: *const *const c_void, _: &U);

The type of function called by a closure.

U is the type of the user data captured by the closure and passed to the callback, and R is the type of the result. The parameters are not typed, since they are passed as a C array of void*.