]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Install sqlite3_malloc/sqlite3_free() as the JS-side WASM allocator (as opposed to...
authorstephan <stephan@noemail.net>
Wed, 30 Nov 2022 11:50:16 +0000 (11:50 +0000)
committerstephan <stephan@noemail.net>
Wed, 30 Nov 2022 11:50:16 +0000 (11:50 +0000)
commit8ae954557738b29ebaaa6b1eb954c4e9a703de36
tree13ebb2de20c2a81ad812e77a0f1b71a130a0cb36
parentc5141c9efa564dc6e6d39685b23741d6632dae5a
Install sqlite3_malloc/sqlite3_free() as the JS-side WASM allocator (as opposed to replacing C-level's malloc()/free() with them). All tests work and this eliminates the potential for allocator discrepancies when using the (de)serialize APIs.

FossilOrigin-Name: 95c78f6b46e0d8efa4313061f47677479f48610b7a7261dc8d0fb1859aca2ad9
ext/wasm/api/sqlite3-api-cleanup.js
ext/wasm/api/sqlite3-api-prologue.js
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid