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
- Add a `BinaryenDataSegmentRef` type to the C API
- Add `BinaryenGetDataSegment` and `BinaryenGetDataSegmentByIndex` to the C
API, which allow looking up a data segment by name or index.
- Add `BinaryenDataSegmentGetName` to the C API, which allows looking up a
data segment's name.
- Convert `BinaryenGetMemorySegmentByteOffset`,
`BinaryenGetMemorySegmentByteLength`, `BinaryenGetMemorySegmentPassive` and
`BinaryenCopyMemorySegmentData` to take a `BinaryenDataSegmentRef` instead
of a name.
- Add `module.getDataSegment`, `module.getDataSegmentByIndex` to the JS API,
which allows looking up a data segment by name or index.
- Convert `module.getMemorySegmentInfo` to take a data segment reference
instead of a name, and return the name as part of the info.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 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 `BinaryenGetDataSegment` and `BinaryenGetDataSegmentByIndex` to the C API, which allow looking up a data segment by name or index.
19
+
- Add `BinaryenDataSegmentGetName` to the C API, which allows looking up a data segment's name.
20
+
- Convert `BinaryenGetMemorySegmentByteOffset`, `BinaryenGetMemorySegmentByteLength`, `BinaryenGetMemorySegmentPassive` and `BinaryenCopyMemorySegmentData` to take a `BinaryenDataSegmentRef` instead of a name.
21
+
- Add `module.getDataSegment`, `module.getDataSegmentByIndex` to the JS API, which allows looking up a data segment by name or index.
22
+
- Convert `module.getMemorySegmentInfo` to take a data segment reference instead of a name, and return the name as part of the info.
17
23
18
24
- Add support for non-nullable table types and initialization expressions for
19
25
tables. This comes with a breaking change to C API: `BinaryenAddTable` takes
0 commit comments