pub unsafe extern "C" fn WasmEdge_ModuleInstanceListMemory(
    Cxt: *const WasmEdge_ModuleInstanceContext,
    Names: *mut WasmEdge_String,
    Len: u32
) -> u32
Expand description

List the exported memory names of a module instance.

The returned memory names filled into the Names array are linked to the exported names of memories of the module instance context, and the caller should NOT call the WasmEdge_StringDelete. If the Names buffer length is smaller than the result of the exported memory list size, the overflowed return values will be discarded.

This function is thread-safe.

\param Cxt the WasmEdge_ModuleInstanceContext. \param [out] Names the output WasmEdge_String buffer of the memory names. \param Len the buffer length.

\returns actual exported memory list size.