1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-20 01:22:32 +03:00

Generic internal JS cleanups towards improving portability of sqlite3-api.js to other build systems.

FossilOrigin-Name: 5bc37e5c2fcd83fd0bc40234144072363f1cbf7d811a15b74a0991e397a35eb8
This commit is contained in:
stephan
2025-11-15 11:30:45 +00:00
parent a804a65617
commit 987870a6a0
7 changed files with 96 additions and 76 deletions

View File

@@ -8,9 +8,11 @@
Running this function will bootstrap the library and return
a Promise to the sqlite3 namespace object.
In the canonical builds, this gets called by extern-post-js.c-pp.js
*/
Module.runSQLite3PostLoadInit = async function(
sqlite3InitScriptInfo /* populated by extern-post-js.c-pp.js */,
sqlite3InitScriptInfo,
EmscriptenModule/*the Emscripten-style module object*/,
sqlite3IsUnderTest
){