From 4ee30642d3777492adc54ff3ad6da88131187bfc Mon Sep 17 00:00:00 2001
From: Zihang Ye <jerryzihye@outlook.com>
Date: Sat, 24 Feb 2024 09:56:20 +0800
Subject: [PATCH] Update develop_plugin_c.md

---
 docs/contribute/plugin/develop_plugin_c.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/contribute/plugin/develop_plugin_c.md b/docs/contribute/plugin/develop_plugin_c.md
index 7b415883..b893b8b2 100644
--- a/docs/contribute/plugin/develop_plugin_c.md
+++ b/docs/contribute/plugin/develop_plugin_c.md
@@ -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.