diff options
author | stephan <stephan@noemail.net> | 2022-12-15 18:50:30 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-15 18:50:30 +0000 |
commit | a51e044a5b23d54ede864d5d99f70fca24282633 (patch) | |
tree | ea907eea7f23c2f2094b7203a319c3babf2dcc92 /ext/wasm/api/sqlite3-wasm.c | |
parent | f000c9b638bceb8d03d7ffa839531f5b0cb38ef3 (diff) | |
download | sqlite-a51e044a5b23d54ede864d5d99f70fca24282633.tar.gz sqlite-a51e044a5b23d54ede864d5d99f70fca24282633.zip |
Added a couple missing 'not part of the public API' tags on functions in sqlite3-wasm.c. No code changes.
FossilOrigin-Name: eb27feecea508f3491a09699f2339951facd2345d479cfd3020183dc2af703b2
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r-- | ext/wasm/api/sqlite3-wasm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c index 6b34cdd1e..5b0f17775 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -1139,6 +1139,9 @@ int sqlite3_wasm_db_reset(sqlite3 *pDb){ } /* +** This function is NOT part of the sqlite3 public API. It is strictly +** for use by the sqlite project's own JS/WASM bindings. +** ** Uses the given database's VFS xRead to stream the db file's ** contents out to the given callback. The callback gets a single ** chunk of size n (its 2nd argument) on each call and must return 0 @@ -1187,6 +1190,9 @@ int sqlite3_wasm_db_export_chunked( sqlite3* pDb, } /* +** This function is NOT part of the sqlite3 public API. It is strictly +** for use by the sqlite project's own JS/WASM bindings. +** ** A proxy for sqlite3_serialize() which serializes the schema zSchema ** of pDb, placing the serialized output in pOut and nOut. nOut may be ** NULL. If zSchema is NULL then "main" is assumed. If pDb or pOut are @@ -1544,7 +1550,7 @@ void sqlite3_wasm_test_stack_overflow(int recurse){ if(recurse) sqlite3_wasm_test_stack_overflow(recurse); } -/* For testing the 'string-free' whwasmutil.xWrap() conversion. */ +/* For testing the 'string:dealloc' whwasmutil.xWrap() conversion. */ SQLITE_WASM_KEEP char * sqlite3_wasm_test_str_hello(int fail){ char * s = fail ? 0 : (char *)sqlite3_malloc(6); |