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

wasm: document the role of sqlite3-wasm.c. Other minor doc updates.

FossilOrigin-Name: 4c10b9b18feca82440273f8192fef951ad051bbfd8aad4d3c840cf6375130afd
This commit is contained in:
stephan
2022-08-12 13:07:21 +00:00
parent e6d1650c5b
commit e1c3462484
5 changed files with 24 additions and 17 deletions

View File

@ -6,10 +6,11 @@
**
** For purposes of certain hand-crafted C/Wasm function bindings, we
** need a way of reporting errors which is consistent with the rest of
** the C API. To that end, this internal-use-only function is a thin
** proxy around sqlite3ErrorWithMessage(). The intent is that it only
** be used from Wasm bindings such as sqlite3_prepare_v2/v3(), and
** definitely not from client code.
** the C API, as opposed to throwing JS exceptions. To that end, this
** internal-use-only function is a thin proxy around
** sqlite3ErrorWithMessage(). The intent is that it only be used from
** Wasm bindings such as sqlite3_prepare_v2/v3(), and definitely not
** from client code.
**
** Returns err_code.
*/