Skip to main content

create_matrix

Function create_matrix 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn create_matrix<'a>() -> *const Matrix<'a>
Expand description

Creates an empty Matrix (a 2d array).

ยงSafety

It returns a pointer to the allocated Matrix, which needs to be
deallocated eventually.