Skip to content

Commit

Permalink
doc(runtime-c-api) Improve documentation of `wasmer_import_export_val…
Browse files Browse the repository at this point in the history
…ue`.
  • Loading branch information
Hywan committed Jan 20, 2020
1 parent 97c25f7 commit 3022a16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/runtime-c-api/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 3022a16

Please sign in to comment.