diff options
author | Alon Zakai <azakai@google.com> | 2023-07-21 11:14:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 18:14:25 +0000 |
commit | 794a7ee41068ffe450bf904de504f2cad36d1f21 (patch) | |
tree | 189e38c991dd7273e9cf548923a987fe3f4eecab /src/passes/stringify-walker.h | |
parent | 0d79590340237214bccfca6a73ad11b3728f26fc (diff) | |
download | binaryen-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 'src/passes/stringify-walker.h')
0 files changed, 0 insertions, 0 deletions