#[unsafe(no_mangle)]pub unsafe extern "C" fn finalize_matrix(mat: *mut Matrix<'_>)Expand description
Finalizes (deallocates) the Matrix.
ยงSafety
1, mat should point to a valid Matrix object created by create_matrix.
2. After finalize_matrix is called, mat is invalid.