Function wasmedge_sys::ffi::WasmEdge_ImportTypeGetModuleName
source · pub unsafe extern "C" fn WasmEdge_ImportTypeGetModuleName(
Cxt: *const WasmEdge_ImportTypeContext
) -> WasmEdge_String
Expand description
Get the module name from an import type.
The returned string object is linked to the module name of the import type,
and the caller should NOT call the WasmEdge_StringDelete
.
\param Cxt the WasmEdge_ImportTypeContext.
\returns string object. Length will be 0 and Buf will be NULL if failed.