pub unsafe extern "C" fn WasmEdge_ModuleInstanceFindFunction(
    Cxt: *const WasmEdge_ModuleInstanceContext,
    Name: WasmEdge_String
) -> *mut WasmEdge_FunctionInstanceContext
Expand description

Get the exported function instance context of a module instance.

The result function instance context links to the function instance in the module instance context and owned by the module instance context, and the caller should NOT call the WasmEdge_FunctionInstanceDelete.

This function is thread-safe.

\param Cxt the WasmEdge_ModuleInstanceContext. \param Name the function name WasmEdge_String.

\returns pointer to the function instance context. NULL if not found.