]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In wasm.ptr.coerce(), treat the undefined value the same as 0 for Number-type pointer...
authorstephan <stephan@noemail.net>
Mon, 22 Sep 2025 13:13:02 +0000 (13:13 +0000)
committerstephan <stephan@noemail.net>
Mon, 22 Sep 2025 13:13:02 +0000 (13:13 +0000)
commit2ea861a245048d47f599ae88a661777f55a81106
tree755c77feba987cad6a918c155e6abbe778b4017b
parent34d92f4ac686cd309fd55deaf4e272c9d6275680
In wasm.ptr.coerce(), treat the undefined value the same as 0 for Number-type pointers for consistency with the BigInt coercion. The bindings have long treated both null and undefined as === 0 for pointer operations.

FossilOrigin-Name: ef73bb1ddae28c6a0b462a2a840bfaaec3fc70d843e9ab6c53097281ffc85a78
ext/wasm/common/whwasmutil.js
manifest
manifest.uuid