Type Alias custom_alloc_t

Source
pub type custom_alloc_t = Option<unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: size_t) -> *mut c_void>;

Aliased Type§

enum custom_alloc_t {
    None,
    Some(unsafe extern "C" fn(*mut Struct_R_allocator, u64) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Struct_R_allocator, u64) -> *mut c_void)

Some value of type T.