Type Definition libjxl_sys::jpegxl_free_func[][src]

type jpegxl_free_func = Option<unsafe extern "C" fn(opaque: *mut c_void, address: *mut c_void)>;

Deallocating function pointer type.

This function @b MUST do nothing if @p address is @c 0.

@param opaque custom memory manager handle provided by the caller. @param address memory region pointer returned by ::jpegxl_alloc_func, or @c 0