summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2021-01-05 21:48:14 +0100
committerGitHub <noreply@github.com>2021-01-05 21:48:14 +0100
commit3e5ce644e0336bc7ce82a5f6df6b1f671097556d (patch)
treeda2e1fa2695f83cb2d6842f44625d3808966895a /CHANGELOG.md
parent3b52424c5f064d407b4b24aea1b6509a2e5f1f5c (diff)
downloadbinaryen-3e5ce644e0336bc7ce82a5f6df6b1f671097556d.tar.gz
binaryen-3e5ce644e0336bc7ce82a5f6df6b1f671097556d.tar.bz2
binaryen-3e5ce644e0336bc7ce82a5f6df6b1f671097556d.zip
Improve C and JS API module inspection features (#3464)
* BinaryenGetFunction, BinaryenGetGlobal, BinaryenGetEvent now return NULL if an element does not exist * Adds BinaryenGetExport, BinaryenGetNumGlobals, BinaryenGetGlobalByIndex * Corrects BinaryenGetNumFunctions return type * Adds related descriptions of C API functions
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27a097a76..ce017cfc3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,8 @@ Current Trunk
This can be revived if needed from git history (#3261).
- Make `NUM_PARAMS` in `FuncCastEmulation` a runtime configuration option named
`max-func-params`. This defaults to the original value of 16.
+- `BinaryenGetFunction`, `BinaryenGetGlobal` and `BinaryenGetEvent` now return
+ `NULL` instead of aborting when the respective element does not yet exist.
v98
---