Skip to main content

Get2DRowColMem

Function Get2DRowColMem 

Source
pub unsafe extern "C" fn Get2DRowColMem(
    nrow: c_long,
    ncol: c_long,
    psize: c_int,
    size: usize,
) -> *mut *mut c_void
Expand description

Allocates memory for 2D array. The array will have 2*nrow-1 rows. The first nrow-1 rows will have ncol columns, and the rest will have ncol-1 columns.