pub unsafe extern "C" fn BZ2_bzCompressEnd(
strm: *mut bz_stream,
) -> c_int
Expand description
Deallocates all dynamically allocated data structures for this stream.
§Returns
BZ_PARAM_ERROR
if any ofstrm.is_null()
strm.s.is_null()
- no valid allocator could be configured
BZ_OK
otherwise
§Safety
- Either
strm
isNULL
strm
satisfies the requirements of&mut *strm
and was initialized withBZ2_bzCompressInit