]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Move JS-to-C binding signatures from sqlite3-api-prologue.js to sqlite3-api-glue...
authorstephan <stephan@noemail.net>
Mon, 12 Dec 2022 14:31:38 +0000 (14:31 +0000)
committerstephan <stephan@noemail.net>
Mon, 12 Dec 2022 14:31:38 +0000 (14:31 +0000)
commit124fc52d96f47899371782a3f3ed7f9cbf6bbeb8
tree3c42d7c209ffd4fd44f15d01d0f1117ec5dd792b
parent5dbfc0dfdd5241bfc0cdc93915368e16ae50be2d
Move JS-to-C binding signatures from sqlite3-api-prologue.js to sqlite3-api-glue.js to allow for use of the new/experimental sqlite3.wasm.xWrap() feature which automatically binds JS functions to WASM/C as needed, which simplifies creation of bindings which take C function pointers. Reimplement sqlite3_exec(), sqlite3_create_collation(), sqlite3_progress_handler() to use this new feature.

FossilOrigin-Name: 9386d6f634680b4e0fa5487c34c63acb29f0b7a6ae738b8f6164ad084a229b62
ext/wasm/api/sqlite3-api-glue.js
ext/wasm/api/sqlite3-api-prologue.js
ext/wasm/common/whwasmutil.js
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid