aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-glue.c-pp.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-02-03 14:04:27 +0000
committerstephan <stephan@noemail.net>2025-02-03 14:04:27 +0000
commitd256b568806e32efd063f280a55830dbbf21ddff (patch)
treeea636a97b014de552b189a9987ba0779a6f0ca23 /ext/wasm/api/sqlite3-api-glue.c-pp.js
parent3cf467a3ec3f5311cb70e229f9f675d567fabeea (diff)
downloadsqlite-d256b568806e32efd063f280a55830dbbf21ddff.tar.gz
sqlite-d256b568806e32efd063f280a55830dbbf21ddff.zip
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
Diffstat (limited to 'ext/wasm/api/sqlite3-api-glue.c-pp.js')
-rw-r--r--ext/wasm/api/sqlite3-api-glue.c-pp.js2
1 files changed, 1 insertions, 1 deletions
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* */]
})
]],