UriFuncCalloc

Type Alias UriFuncCalloc 

Source
pub type UriFuncCalloc = Option<unsafe extern "C" fn(arg1: *mut UriMemoryManagerStruct, arg2: size_t, arg3: size_t) -> *mut c_void>;
Expand description

Function signature that custom calloc(3) functions must conform to

@since 0.9.0

Aliased Type§

pub enum UriFuncCalloc {
    None,
    Some(unsafe extern "C" fn(*mut UriMemoryManagerStruct, u64, u64) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.