wasmedge_sys::ffi

Function WasmEdge_PluginLoadFromPath

Source
pub unsafe extern "C" fn WasmEdge_PluginLoadFromPath(
    Path: *const c_char,
)
Expand description

Load the plugin with the given file or directory.

For the given file path, this function will load the plug-in. For the given directory path, this function will load the plug-ins under the directory recursively.

\param Path the path to plug-in file or directory.