Skip to main content

WasmEdge_ResultOK

Function WasmEdge_ResultOK 

Source
pub unsafe extern "C" fn WasmEdge_ResultOK(
    Res: WasmEdge_Result,
) -> bool
Expand description

Check whether the result is a success.

\param Res the WasmEdge_Result struct.

\returns true if the error code is WasmEdge_Result_Success or WasmEdge_Result_Terminate, false for others.