Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update develop_plugin_c.md #216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Loading