maze_wasm::wasm

Function maze_wasm_set_start_cell

Source
#[no_mangle]
pub extern "C" fn maze_wasm_set_start_cell(
    maze_wasm: *mut MazeWasm,
    start_row: u32,
    start_col: u32,
) -> u32
Expand description

Sets the start cell in a MazeWasm

ยงReturns

Zero if successful, else an error pointer