mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 06:31:32 +00:00
doc(runtime-c-api) Improve documentation of wasmer_instance_t
.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user