mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
doc(runtime-c-api) Improve documentation of wasmer_import_export_value
.
This commit is contained in:
@ -95,9 +95,16 @@ pub union wasmer_import_export_value {
|
|||||||
// ================
|
// ================
|
||||||
// Do not modify these values without updating the `TryFrom` implementation below
|
// Do not modify these values without updating the `TryFrom` implementation below
|
||||||
pub enum wasmer_import_export_kind {
|
pub enum wasmer_import_export_kind {
|
||||||
|
/// The export/import is a function.
|
||||||
WASM_FUNCTION = 0,
|
WASM_FUNCTION = 0,
|
||||||
|
|
||||||
|
/// The export/import is a global.
|
||||||
WASM_GLOBAL = 1,
|
WASM_GLOBAL = 1,
|
||||||
|
|
||||||
|
/// The export/import is a memory.
|
||||||
WASM_MEMORY = 2,
|
WASM_MEMORY = 2,
|
||||||
|
|
||||||
|
/// The export/import is a table.
|
||||||
WASM_TABLE = 3,
|
WASM_TABLE = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user