aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-prologue.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-04 01:21:34 +0000
committerstephan <stephan@noemail.net>2022-10-04 01:21:34 +0000
commit2716cd25280c157c85350e24b9c7fedd8bdb07f9 (patch)
treeb614938aa3b55d1c8abed4a75c8bbd950076ef34 /ext/wasm/api/sqlite3-api-prologue.js
parent2b776ee2d6d550ab4b106603c0664251bc12259f (diff)
downloadsqlite-2716cd25280c157c85350e24b9c7fedd8bdb07f9.tar.gz
sqlite-2716cd25280c157c85350e24b9c7fedd8bdb07f9.zip
Minor pstack doc update.
FossilOrigin-Name: 6b4fb7c4e399ecc948ad41f5fa3139a9293cc822cd7efa2b83dc5fb1660b3ec6
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r--ext/wasm/api/sqlite3-api-prologue.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js
index 59537a499..516f53f52 100644
--- a/ext/wasm/api/sqlite3-api-prologue.js
+++ b/ext/wasm/api/sqlite3-api-prologue.js
@@ -977,8 +977,10 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
Object.defineProperties(wasm.pstack, {
/**
sqlite3.wasm.pstack.pointer resolves to the current pstack
- position pointer. This value is intended _only_ to be passed to
- restore().
+ position pointer. This value is intended _only_ to be saved
+ for passing to restore(). Writing to this memory, without
+ first reserving it via wasm.pstack.alloc() and friends, leads
+ to undefined results.
*/
pointer: {
configurable: false, iterable: true, writeable: false,