Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/contribute/plugin/develop_plugin_c.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ WasmEdge_Result HostFuncSub(void *Data,
/* Pointer to the plug-in option description array (Work in progress). */
.ProgramOptions = NULL,
}};

/* Export the plug-in descriptor */
WASMEDGE_CAPI_PLUGIN_EXPORT const WasmEdge_PluginDescriptor *
WasmEdge_Plugin_GetDescriptor(void) {
return &Desc;
}
```

These descriptions define the name, description, version, and creation function of the plug-in and the name and description of the module it contains.
Expand Down