pub unsafe extern "C" fn WasmEdge_VMGetFunctionTypeRegistered(
    Cxt: *const WasmEdge_VMContext,
    ModuleName: WasmEdge_String,
    FuncName: WasmEdge_String
) -> *const WasmEdge_FunctionTypeContext
Expand description

Get the function type by function name.

After registering a WASM module in the VM context, you can call this function to get the function type by the functions’ exported module names and function names until the VM context is reset. The returned function type context are linked to the context owned by the VM context, and the caller should NOT call the WasmEdge_FunctionTypeDelete to destroy it.

This function is thread-safe.

\param Cxt the WasmEdge_VMContext. \param ModuleName the module name WasmEdge_String. \param FuncName the function name WasmEdge_String.

\returns the function type. NULL if the function not found.