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

List the modules in the plug-in context with their names.

The returned module names filled into the Names array are owned by the internal WasmEdge plug-in storage, and the caller should NOT call the WasmEdge_StringDelete. If the Names buffer length is smaller than the result of the loaded plug-in list size, the overflowed return values will be discarded.

\param Cxt the WasmEdge_PluginContext to list the modules. \param [out] Names the output WasmEdge_String buffer of the function names. \param Len the buffer length.

\returns actual module list size of the plug-in.