]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Reimplement sqlite3.capi.sqlite3_close_v2() and sqlite3session_delete() as a hand...
authorstephan <stephan@noemail.net>
Mon, 26 Dec 2022 11:13:09 +0000 (11:13 +0000)
committerstephan <stephan@noemail.net>
Mon, 26 Dec 2022 11:13:09 +0000 (11:13 +0000)
commit20170adf14bf6e23d17bf1d1eff79a87bd4e2a83
tree9631f28105d1eb0caebbb1ab27ce7a3f9538e09e
parent3a8fbc0749b5a1ff5a4d173568bd86e132e5d9ef
Reimplement sqlite3.capi.sqlite3_close_v2() and sqlite3session_delete() as a hand-written bindings so that they can attempt to clean up certain (potentially) FuncPtrAdapter-installed functions before closing. Correct the create-function family of JS-to-function-pointer automated conversions to include the UDF's arity as part of the mapping's key so that (un)binding a UDF to different functions for different arities works (and add tests confirming it). Correct a broken doc link in module-symbols.html.

FossilOrigin-Name: 60b262ef0f57b162c2566b12e70685a92afb00b441332ea7a6540fcb188cc7af
ext/wasm/api/sqlite3-api-glue.js
ext/wasm/common/whwasmutil.js
ext/wasm/module-symbols.html
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid