maze_wasm::wasm

Function maze_wasm_to_json

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

Converts a MazeWasm to a JSON string value

ยงReturns

MazeWasmResult with the value_ptr set to the JSON string pointer, else the error_ptr set to non-zero if the function fails