#[unsafe(no_mangle)]pub unsafe extern "C" fn laminar_writer_close( writer: *mut LaminarWriter, ) -> i32
Close the writer and release resources.
After calling this, the writer handle can still be freed with laminar_writer_free, but no more writes are allowed.
laminar_writer_free
writer
LAMINAR_OK on success, or an error code.
LAMINAR_OK
writer must be a valid writer handle.