Function wasmedge_sys::ffi::WasmEdge_PluginListPlugins
source · pub unsafe extern "C" fn WasmEdge_PluginListPlugins(
Names: *mut WasmEdge_String,
Len: u32
) -> u32
Expand description
List the loaded plug-ins with their names.
The returned plug-in 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 [out] Names the output WasmEdge_String buffer of the function names. \param Len the buffer length.
\returns actual loaded plug-in list size.