Skip to main content

WasmEdge_ConfigureIsForceInterpreter

Function WasmEdge_ConfigureIsForceInterpreter 

Source
pub unsafe extern "C" fn WasmEdge_ConfigureIsForceInterpreter(
    Cxt: *const WasmEdge_ConfigureContext,
) -> bool
Expand description

Get the force interpreter mode execution option.

CAUTION: This function will be deprecated and replaced by WasmEdge_ConfigureGetRunMode() API in the future. Use WasmEdge_ConfigureGetRunMode(Cxt) == WasmEdge_RunMode_Interpreter instead.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to get the boolean value.

\returns true when the configured run mode is interpreter; false otherwise.