MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_ConfigureGetRunMode

Function WasmEdge_ConfigureGetRunMode

lib/api/wasmedge.cpp:997–1004  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997WASMEDGE_CAPI_EXPORT enum WasmEdge_RunMode
998WasmEdge_ConfigureGetRunMode(const WasmEdge_ConfigureContext *Cxt) noexcept {
999 if (Cxt) {
1000 return static_cast<WasmEdge_RunMode>(
1001 Cxt->Conf.getRuntimeConfigure().getRunMode());
1002 }
1003 return WasmEdge_RunMode_Interpreter;
1004}
1005
1006WASMEDGE_CAPI_EXPORT void
1007WasmEdge_ConfigureSetForceInterpreter(WasmEdge_ConfigureContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 1

getRunModeMethod · 0.80

Tested by 1

TESTFunction · 0.68