aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-prologue.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-28 11:40:46 +0000
committerstephan <stephan@noemail.net>2022-10-28 11:40:46 +0000
commitf03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8 (patch)
tree7c9ea2e5ec129a59e5a9bb6579ca6028e1ffd751 /ext/wasm/api/sqlite3-api-prologue.js
parente681b651eb5cc1da2724ce73b84792b10039152b (diff)
downloadsqlite-f03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8.tar.gz
sqlite-f03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8.zip
Add ext/wasm/module-symbols.html. Adjacent minor JS touchups.
FossilOrigin-Name: 24f12e681e06e3b71a6ac9c82255fe0270953a74c711405841f7e385eeafe874
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r--ext/wasm/api/sqlite3-api-prologue.js25
1 files changed, 12 insertions, 13 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js
index 96b2fa019..05305db22 100644
--- a/ext/wasm/api/sqlite3-api-prologue.js
+++ b/ext/wasm/api/sqlite3-api-prologue.js
@@ -1042,26 +1042,25 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
//set: wasm.exports.sqlite3_wasm_pstack_restore
},
/**
- Resolves to the total number of bytes available in the pstack,
- including any space which is currently allocated. This value is
- a compile-time constant.
+ sqlite3.wasm.pstack.quota to the total number of bytes
+ available in the pstack, including any space which is currently
+ allocated. This value is a compile-time constant.
*/
quota: {
configurable: false, iterable: true, writeable: false,
get: wasm.exports.sqlite3_wasm_pstack_quota
- }
+ },
+ /**
+ sqlite3.wasm.pstack.remaining resolves to the amount of space
+ remaining in the pstack.
+ */
+ remaining: {
+ configurable: false, iterable: true, writeable: false,
+ get: wasm.exports.sqlite3_wasm_pstack_remaining
+ }
})/*wasm.pstack properties*/;
/**
- sqlite3.wasm.pstack.remaining resolves to the amount of
- space remaining in the pstack.
- */
- Object.defineProperty(wasm.pstack, 'remaining', {
- configurable: false, iterable: true, writeable: false,
- get: wasm.exports.sqlite3_wasm_pstack_remaining
- });
-
- /**
An Error subclass specifically for reporting DB-level errors and
enabling clients to unambiguously identify such exceptions.
The C-level APIs never throw, but some of the higher-level