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