pub unsafe extern "C" fn WasmEdge_ModuleInstanceAddFunction(
    Cxt: *mut WasmEdge_ModuleInstanceContext,
    Name: WasmEdge_String,
    FuncCxt: *mut WasmEdge_FunctionInstanceContext
)
Expand description

Add a function instance context into a WasmEdge_ModuleInstanceContext.

Export and move the ownership of the function instance into the module instance. The caller should NOT access or destroy the function instance context after calling this function.

This function is thread-safe.

\param Cxt the WasmEdge_ModuleInstanceContext to add the function instance. \param Name the export function name WasmEdge_String. \param FuncCxt the WasmEdge_FunctionInstanceContext to add.