Type Alias gmp_mpfr_sys::gmp::free_function

source ·
pub type free_function = Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize)>;
Expand description

See: free_function

§Planned change

In the next major version of the crate (version 2), this will be changed to unsafe extern "C" fn(ptr: *mut c_void, size: usize), that is it will no longer be an Option.

Aliased Type§

enum free_function {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: usize)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: usize))

Some value of type T.