From: stephan Date: Sun, 2 Oct 2022 03:14:38 +0000 (+0000) Subject: Doc typo fixes. X-Git-Tag: version-3.40.0~169^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9fdce595ebc88dd3a5c5a94a72981279e094423c;p=thirdparty%2Fsqlite.git Doc typo fixes. FossilOrigin-Name: e528675da3971907666c7d2d09763975a105ec585dc5122145f65905d535bed8 --- diff --git a/ext/wasm/api/sqlite3-api-glue.js b/ext/wasm/api/sqlite3-api-glue.js index b6ec1695e1..28bba5a74d 100644 --- a/ext/wasm/api/sqlite3-api-glue.js +++ b/ext/wasm/api/sqlite3-api-glue.js @@ -276,21 +276,21 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ /** A convenience wrapper for allocChunks() which sizes each chunks as either 8 bytes (safePtrSize is truthy) or wasm.ptrSizeof (if - safePtrSize is truthy). + safePtrSize is falsy). How it returns its result differs depending on its first argument: if it's 1, it returns a single pointer value. If it's more than 1, it returns the same as allocChunks(). - When one of the pointers refers to a 64-bit value, e.g. a - double or int64, and that value must be written or fetch, + When a returned pointers will refer to a 64-bit value, e.g. a + double or int64, and that value must be written or fetched, e.g. using wasm.setMemValue() or wasm.getMemValue(), it is important that the pointer in question be aligned to an 8-byte boundary or else it will not be fetched or written properly and will corrupt or read neighboring memory. - However, when all pointers involved are "small", it is safe to - pass a falsy value to save to memory. + However, when all pointers involved point to "small" data, it + is safe to pass a falsy value to save to memory. */ wasm.pstack.allocPtr = (n=1,safePtrSize=true) =>{ return 1===n diff --git a/ext/wasm/common/whwasmutil.js b/ext/wasm/common/whwasmutil.js index 6b08d4f78e..6e8fa00dc2 100644 --- a/ext/wasm/common/whwasmutil.js +++ b/ext/wasm/common/whwasmutil.js @@ -1132,8 +1132,8 @@ self.WhWasmUtilInstaller = function(target){ The reason for the 2nd argument is.. - When one of the pointers will refer to a 64-bit value, e.g. a - double or int64, an that value must be written or fetch, + When one of the returned pointers will refer to a 64-bit value, + e.g. a double or int64, an that value must be written or fetched, e.g. using setMemValue() or getMemValue(), it is important that the pointer in question be aligned to an 8-byte boundary or else it will not be fetched or written properly and will corrupt or diff --git a/manifest b/manifest index c9a71476e0..2f055f89b0 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C More\sfleshing\sout\sof\ssqlite3.capi.wasm.pstack. -D 2022-10-02T03:11:13.806 +C Doc\stypo\sfixes. +D 2022-10-02T03:14:38.605 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -485,7 +485,7 @@ F ext/wasm/api/post-js-footer.js b64319261d920211b8700004d08b956a6c285f3b0bba814 F ext/wasm/api/post-js-header.js 2e5c886398013ba2af88028ecbced1e4b22dc96a86467f1ecc5ba9e64ef90a8b F ext/wasm/api/pre-js.js 2db711eb637991b383fc6b5c0f3df65ec48a7201e5730e304beba8de2d3f9b0b F ext/wasm/api/sqlite3-api-cleanup.js 5d22d1d3818ecacb23bfa223d5970cd0617d8cdbb48c8bc4bbd463f05b021a99 -F ext/wasm/api/sqlite3-api-glue.js 474a5e0bf8016e22aefee44ca45408f08f4159c0b782295ac1d86c4556e91d9a +F ext/wasm/api/sqlite3-api-glue.js 20b98987dd0c6d02ca308e0cf9299750d618459e0876b354380b87ae2dc5cba0 F ext/wasm/api/sqlite3-api-oo1.js 066e67f3033e1b300140d431557c468f5cd0a4c17253f156e05b8a2e2c802da7 F ext/wasm/api/sqlite3-api-opfs.js 1b097808b7b081b0f0700cf97d49ef19760e401706168edff9cd45cf9169f541 F ext/wasm/api/sqlite3-api-prologue.js 9b0c5150f0129b3dc558fec0bfc9c8bf7ebda402b58965bcf98b2ed117b55239 @@ -497,7 +497,7 @@ F ext/wasm/batch-runner.js ce92650a6681586c89bef26ceae96674a55ca5a9727815202ca62 F ext/wasm/common/SqliteTestUtil.js 647bf014bd30bdd870a7e9001e251d12fc1c9ec9ce176a1004b838a4b33c5c05 F ext/wasm/common/emscripten.css 3d253a6fdb8983a2ac983855bfbdd4b6fa1ff267c28d69513dd6ef1f289ada3f F ext/wasm/common/testing.css 3a5143699c2b73a85b962271e1a9b3241b30d90e30d895e4f55665e648572962 -F ext/wasm/common/whwasmutil.js cdb33775fdc55c9b1cbb617d22d24b4a29dc9c1389b827a5b14886a291480d70 +F ext/wasm/common/whwasmutil.js af9bb6586d8a2ab7c55c7f1554bb6b0328a7bd6a86ea5fa9ef5273a738156ac3 F ext/wasm/demo-123-worker.html e419b66495d209b5211ec64903b4cfb3ca7df20d652b41fcd28bf018a773234f F ext/wasm/demo-123.html aa281d33b7eefa755f3122b7b5a18f39a42dc5fb69c8879171bf14b4c37c4ec4 F ext/wasm/demo-123.js 536579fd587974c2511c5bf82034b253d4fdeceabb726927ad7599ef6b7578e8 @@ -2029,8 +2029,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 8b3bc7313aff551e5ee0b7aeb927095cf19b9b96abbdd922066c130656b8aa7d -R a0d2cb1d1b18288fcfda68347c547fdd +P eb5726677a727a958df11f1fba078d30c7c0ba2a9bdb158e8641b35b5f971af3 +R c02b54a31af3ce39f04c3d79de05d508 U stephan -Z 5fc153c99e29258d724616b67e70d32b +Z a6c5eed947d3361089be1f642079a7a3 # Remove this line to create a well-formed Fossil manifest. diff --git a/manifest.uuid b/manifest.uuid index fa1c36d777..2e83e50aa0 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -eb5726677a727a958df11f1fba078d30c7c0ba2a9bdb158e8641b35b5f971af3 \ No newline at end of file +e528675da3971907666c7d2d09763975a105ec585dc5122145f65905d535bed8 \ No newline at end of file