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

List the registered module names.

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 store 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_StoreContext. \param [out] Names the output names WasmEdge_String buffer of named modules. \param Len the buffer length.

\returns actual registered named module list size.