diff options
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 25 |
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 |