pub unsafe extern "C" fn WasmEdge_VMGetExecutorContext(
    Cxt: *mut WasmEdge_VMContext
) -> *mut WasmEdge_ExecutorContext
Expand description

Get the executor context used in the WasmEdge_VMContext.

The returned executor context links to the executor in the VM context and owned by the VM context. This function will return NULL if error occurs. The caller should NOT call the WasmEdge_ExecutorDelete.

This function is thread-safe.

\param Cxt the WasmEdge_VMContext.

\returns pointer to the executor context.