Skip to content

Commit

Permalink
DOCS: Make wasm_limits_t members publicly visible.
Browse files Browse the repository at this point in the history
Issue 2485
  • Loading branch information
FGasper committed Jul 28, 2021
1 parent 51fdf66 commit 75142b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/c-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Looking for changes to the Wasmer CLI and the Rust API? See our [Primary Changel

## **[Unreleased]**

### Fixed
- [#2485](https://github.com/wasmerio/wasmer/pull/2493) Document wasm_limits_t’s members publicly.

### Added
- [#2449](https://github.com/wasmerio/wasmer/pull/2449) Configure `soname`, `install_name`, `out-implib`, etc.

Expand Down
4 changes: 2 additions & 2 deletions lib/c-api/src/wasm_c_api/types/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ pub unsafe extern "C" fn wasm_memorytype_delete(_memory_type: Option<Box<wasm_me
#[derive(Copy, Clone, Debug)]
#[repr(C)]
pub struct wasm_limits_t {
pub(crate) min: u32,
pub(crate) max: u32,
pub min: u32,
pub max: u32,
}

const LIMITS_MAX_SENTINEL: u32 = u32::max_value();
Expand Down

0 comments on commit 75142b3

Please sign in to comment.