mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 07:31:33 +00:00
doc(runtime-c-api) Improve documentation of wasmer_limit_option_t
.
This commit is contained in:
@ -131,9 +131,14 @@ pub struct wasmer_limits_t {
|
||||
pub max: wasmer_limit_option_t,
|
||||
}
|
||||
|
||||
/// The `wasmer_limit_option_t` struct repreesents an optional limit
|
||||
/// for `wasmer_limits_t`.
|
||||
#[repr(C)]
|
||||
pub struct wasmer_limit_option_t {
|
||||
/// Whether the limit is set.
|
||||
pub has_some: bool,
|
||||
|
||||
/// The limit value.
|
||||
pub some: u32,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user