From d256b568806e32efd063f280a55830dbbf21ddff Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 3 Feb 2025 14:04:27 +0000 Subject: Correct the FuncPtrAdapter signature for the JS binding of sqlite3_set_auxdata(). Reported in [https://github.com/sqlite/sqlite-wasm/issues/92|the npm subproject, ticket #92]. FossilOrigin-Name: 76c8435a5f390001038b8ee94322ff478c9d5f29501ed1c5891c952a41e377aa --- ext/wasm/api/sqlite3-api-glue.c-pp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/wasm/api/sqlite3-api-glue.c-pp.js') diff --git a/ext/wasm/api/sqlite3-api-glue.c-pp.js b/ext/wasm/api/sqlite3-api-glue.c-pp.js index 680218370..ddcf2535f 100644 --- a/ext/wasm/api/sqlite3-api-glue.c-pp.js +++ b/ext/wasm/api/sqlite3-api-glue.c-pp.js @@ -232,7 +232,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ "sqlite3_context*", "int", "*", new wasm.xWrap.FuncPtrAdapter({ name: 'xDestroyAuxData', - signature: 'v(*)', + signature: 'v(p)', contextKey: (argv, argIndex)=>argv[0/* sqlite3_context* */] }) ]], -- cgit v1.2.3