We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b3d92 commit 7d387d6Copy full SHA for 7d387d6
src/api.js
@@ -939,7 +939,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
939
removeFunction(this.functions[name]);
940
delete this.functions[name];
941
}
942
- func_ptr = addFunction(wrapped_func);
+ // The signature of the wrapped function is :
943
+ // void wrapped(sqlite3_context *db, int argc, sqlite3_value **argv)
944
+ func_ptr = addFunction(wrapped_func, "viii");
945
this.functions[name] = func_ptr;
946
this.handleError(sqlite3_create_function_v2(
947
this.db,
0 commit comments