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