[][src]Type Definition libnghttp2_sys::nghttp2_malloc

type nghttp2_malloc = Option<unsafe extern "C" fn(size: usize, mem_user_data: *mut c_void) -> *mut c_void>;

@functypedef

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