maze_wasm::wasm

Function maze_wasm_solution_get_path_points

Source
#[no_mangle]
pub extern "C" fn maze_wasm_solution_get_path_points(
    solution: *mut MazeSolution,
) -> u32
Expand description

Returns the path associated with a solution

ยงReturns

Pointer to an array of points in a contiguous block of memory, laid out as follows: Total Memory (u32) = 4 bytes num_points (u32) = 4 bytes num_points * 8 bytes containing: row (u32) = 4 bytes columns (u32) = 4 bytes