You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,12 @@ full changeset diff at the end of each section.
14
14
15
15
Current Trunk
16
16
-------------
17
+
- Add a `BinaryenDataSegmentRef` type to the C API. (#8286)
18
+
- Add `BinaryenGetMemorySegment` and `BinaryenGetMemorySegmentByIndex` to the C API, which allow looking up a memory segment by name or index.
19
+
- Add `BinaryenGetMemorySegmentName` to the C API, which allows looking up a memory segment's name.
20
+
- Convert `BinaryenGetMemorySegmentByteOffset`, `BinaryenGetMemorySegmentByteLength`, `BinaryenGetMemorySegmentPassive` and `BinaryenCopyMemorySegmentData` to take a `BinaryenDataSegmentRef` instead of a name.
21
+
- Add `module.getMemorySegment`, `module.getMemorySegmentByIndex` to the JS API, which allows looking up a memory segment by name or index.
22
+
- Convert `module.getMemorySegmentInfo` to take a memory segment reference instead of a name, and return the name as part of the info.
17
23
- The emscripten build of binaryen no longer targets pure JS (via wasm2js) by
18
24
default. This allows us to enable WASM_BIGINT and other features that
19
25
wasm2js does not support. There is now just a single binaryen_js target. It
@@ -59,8 +65,6 @@ v126
59
65
`BinaryenMemoryOrder` param. The functions formerly implicitly used
60
66
`BinaryenMemoryOrderSeqCst()`. In JS this param is optional and thus not
61
67
breaking.
62
-
- Add `BinaryenHasMemorySegment(<module>, <name>)` to the C API and
63
-
`module.hasMemorySegment(name)` to the JS API. Allowing users to check if a segment exists.
0 commit comments