Type Alias gmp_mpfr_sys::gmp::allocate_function
source · pub type allocate_function = Option<extern "C" fn(alloc_size: usize) -> *mut c_void>;
Expand description
See: allocate_function
§Planned change
In the next major version of the crate (version 2), this will be
changed to
unsafe extern "C" fn(alloc_size: usize) -> *mut c_void
, that is
it will no longer be an Option
, and the function can also be
unsafe.
Aliased Type§
enum allocate_function {
None,
Some(extern "C" fn(_: usize) -> *mut c_void),
}