summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-debug.cpp
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-01-21 22:29:18 +0100
committerAlon Zakai <azakai@google.com>2020-01-21 13:29:18 -0800
commit52550c26325ff3d6649fa84c83bf8d4ce9ad4fde (patch)
treee2210a0109d57a99d18ea2a0a339d809f5e6d42a /src/wasm/wasm-debug.cpp
parent1e79dcced11cd1da42ca0eb532ee52568c4ab2f0 (diff)
downloadbinaryen-52550c26325ff3d6649fa84c83bf8d4ce9ad4fde.tar.gz
binaryen-52550c26325ff3d6649fa84c83bf8d4ce9ad4fde.tar.bz2
binaryen-52550c26325ff3d6649fa84c83bf8d4ce9ad4fde.zip
Unify JS memory segment API (#2533)
Binaryen.js now uses offset instead of byteOffset when inspecting a memory segment, matching the arguments on memory segment creation. Also adds inspection of the passive property. Previously, one would specify { offset, data, passive } on creation and get back { byteOffset, data } upon inspection. This PR unifies both to the keys on creation while also adding the respective C-API to retrieve passive status, which was missing.
Diffstat (limited to 'src/wasm/wasm-debug.cpp')
0 files changed, 0 insertions, 0 deletions