[][src]Type Definition compu_brotli_sys::brotli_alloc_func

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

Allocating function pointer type.

@param opaque custom memory manager handle provided by client @param size requested memory region size; can not be @c 0 @returns @c 0 in the case of failure @returns a valid pointer to a memory region of at least @p size bytes long otherwise