doc(runtime-c-api) Improve documentation of wasmer_instance_t.

This commit is contained in:
Ivan Enderlin
2020-01-16 12:29:09 +01:00
parent 798557367a
commit 88ca11628a

View File

@ -17,6 +17,11 @@ use wasmer_runtime_core::{
import::{ImportObject, Namespace},
};
/// Opaque pointer to a `wasmer_runtime::Instance` value in Rust.
///
/// A `wasmer_runtime::Instance` represents a WebAssembly instance. It
/// is generally generated by the `wasmer_instantiate()` function, or by
/// the `wasmer_module_instantiate()` function for the most common paths.
#[repr(C)]
pub struct wasmer_instance_t;