aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-glue.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-09-28 07:53:47 +0000
committerstephan <stephan@noemail.net>2022-09-28 07:53:47 +0000
commitd98011852d956758475d158a1ad2e1992ff3a647 (patch)
tree2f2706e55ad2b514de640e7a1d0aaae0f02fb7b5 /ext/wasm/api/sqlite3-api-glue.js
parent489a8a9d3cbf40fb62c082d0a75b0b1d3aaa5159 (diff)
downloadsqlite-d98011852d956758475d158a1ad2e1992ff3a647.tar.gz
sqlite-d98011852d956758475d158a1ad2e1992ff3a647.zip
Work around broken -Os wasm builds by adding the -g3 flag. Unrelated documentation tweaks.
FossilOrigin-Name: f5d6bf8616341037fa3e229edf820d19acef3e0a6207a652b2b143de0a493214
Diffstat (limited to 'ext/wasm/api/sqlite3-api-glue.js')
-rw-r--r--ext/wasm/api/sqlite3-api-glue.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/wasm/api/sqlite3-api-glue.js b/ext/wasm/api/sqlite3-api-glue.js
index 49f736669..258c08250 100644
--- a/ext/wasm/api/sqlite3-api-glue.js
+++ b/ext/wasm/api/sqlite3-api-glue.js
@@ -27,11 +27,11 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
/* "The problem" is that the following isn't type-safe.
OTOH, nothing about WASM pointers is. */
/**
- Add the `.pointer` xWrap() signature entry to extend
- the `pointer` arg handler to check for a `pointer`
- property. This can be used to permit, e.g., passing
- an SQLite3.DB instance to a C-style sqlite3_xxx function
- which takes an `sqlite3*` argument.
+ Add the `.pointer` xWrap() signature entry to extend the
+ `pointer` arg handler to check for a `pointer` property. This
+ can be used to permit, e.g., passing an sqlite3.oo1.DB instance
+ to a C-style sqlite3_xxx function which takes an `sqlite3*`
+ argument.
*/
const oldP = wasm.xWrap.argAdapter('pointer');
const adapter = function(v){