Type Alias libnghttp2_sys::nghttp2_free

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

@functypedef

Custom memory allocator to replace free(). The |mem_user_data| is the mem_user_data member of :type:nghttp2_mem structure.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.