1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Minor pstack doc update.

FossilOrigin-Name: 6b4fb7c4e399ecc948ad41f5fa3139a9293cc822cd7efa2b83dc5fb1660b3ec6
This commit is contained in:
stephan
2022-10-04 01:21:34 +00:00
parent 2b776ee2d6
commit 2716cd2528
3 changed files with 11 additions and 9 deletions

View File

@ -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,