mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 15:41:33 +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},
|
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)]
|
#[repr(C)]
|
||||||
pub struct wasmer_instance_t;
|
pub struct wasmer_instance_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user