Function mupdf_sys::fz_drop_stream
source · pub unsafe extern "C" fn fz_drop_stream(
ctx: *mut fz_context,
stm: *mut fz_stream
)
Expand description
Decrements the reference count for a stream.
When the reference count for the stream hits zero, frees the storage used for the fz_stream itself, and (usually) releases the underlying resources that the stream is based upon (depends on the method used to open the stream initially).