From 97c25f78624a450bc76028819da49c11c73a940c Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 20 Jan 2020 15:27:50 +0100 Subject: [PATCH] doc(runtime-c-api) Improve documentation of `wasmer_exports_t`. --- lib/runtime-c-api/src/export.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/runtime-c-api/src/export.rs b/lib/runtime-c-api/src/export.rs index 57d958abb..dd13688da 100644 --- a/lib/runtime-c-api/src/export.rs +++ b/lib/runtime-c-api/src/export.rs @@ -43,7 +43,11 @@ pub struct wasmer_export_func_t; /// exposed to C. pub(crate) struct NamedExports(pub Vec); -/// Opaque pointer to `NamedExports`. +/// Opaque pointer to the opaque structure `crate::NamedExports`, +/// which is a wrapper around a vector of the opaque structure +/// `crate::NamedExport`. +/// +/// Check the `wasmer_instance_exports()` function to learn more. #[repr(C)] #[derive(Clone)] pub struct wasmer_exports_t;