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

List the registered module names in the WasmEdge_VMContext.

This function will list all registered module names. The returned module names filled into the Names array are linked to the registered module names in the VM context, and the caller should NOT call the WasmEdge_StringDelete. If the Names buffer length is smaller than the result of the registered named module list size, the overflowed return values will be discarded.

This function is thread-safe.

\param Cxt the WasmEdge_VMContext. \param [out] Names the output names WasmEdge_String buffer of the registered modules. \param Len the buffer length.

\returns actual registered module list size.