mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
doc(runtime-c-api) Improve documentation of wasmer_limits_t
.
This commit is contained in:
parent
62a2e3ecad
commit
933a0de5e3
@ -119,9 +119,15 @@ pub enum wasmer_result_t {
|
||||
WASMER_ERROR = 2,
|
||||
}
|
||||
|
||||
/// The `wasmer_limits_t` struct is a type that describes a memory
|
||||
/// options. See the `wasmer_memory_t` struct or the
|
||||
/// `wasmer_memory_new()` function to get more information.
|
||||
#[repr(C)]
|
||||
pub struct wasmer_limits_t {
|
||||
/// The minimum number of allowed pages.
|
||||
pub min: u32,
|
||||
|
||||
/// The maximum number of allowed pages.
|
||||
pub max: wasmer_limit_option_t,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user