summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-21 11:14:25 -0700
committerGitHub <noreply@github.com>2023-07-21 18:14:25 +0000
commit794a7ee41068ffe450bf904de504f2cad36d1f21 (patch)
tree189e38c991dd7273e9cf548923a987fe3f4eecab /CHANGELOG.md
parent0d79590340237214bccfca6a73ad11b3728f26fc (diff)
downloadbinaryen-794a7ee41068ffe450bf904de504f2cad36d1f21.tar.gz
binaryen-794a7ee41068ffe450bf904de504f2cad36d1f21.tar.bz2
binaryen-794a7ee41068ffe450bf904de504f2cad36d1f21.zip
C API: Add BinaryenAddFunctionWithHeapType which takes a heap type (#5829)
This is necessary for WasmGC producers using the C API, so that they can set the heap type of functions. Otherwise the heap type is set structurally using params and results in the old API. The old API is kept for backwards compatibility and convenience (for the structural case, which is all code before WasmGC basically). Fixes #5826
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 69948d3f9..62a7af564 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,9 @@ Current Trunk
- Add a pass to reorder functions by name, which can be useful for debugging
(e.g. comparisons after optimizations), `--reorder-functions-by-name`.
+- C API: Add BinaryenAddFunctionWithHeapType() which is like BinaryenAddFunction
+ but takes a heap type. The old function is kept for backwards compatibility
+ and as a convenience.
v114
----