doc(runtime-c-api) Improve documentation of wasmer_limit_option_t.

This commit is contained in:
Ivan Enderlin
2020-02-10 11:02:28 +01:00
parent 933a0de5e3
commit 602fd8334e

View File

@ -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,
}