Fix minor typos in the JNI README.md file.
FossilOrigin-Name: e21cf2e8f13465dbff33f9c21580752c1d8c077d6a253f56f04dab0d47eb99b8
This commit is contained in:
parent
c7f602497b
commit
f69084aaf7
@ -1,7 +1,7 @@
|
|||||||
SQLite3 via JNI
|
SQLite3 via JNI
|
||||||
========================================================================
|
========================================================================
|
||||||
|
|
||||||
This repository houses a Java Native Interface (JNI) binding for the
|
This directory houses a Java Native Interface (JNI) binding for the
|
||||||
sqlite3 API.
|
sqlite3 API.
|
||||||
|
|
||||||
> **FOREWARNING:** this subproject is very much in development and
|
> **FOREWARNING:** this subproject is very much in development and
|
||||||
@ -85,7 +85,7 @@ UTF-8(-ish)
|
|||||||
SQLite internally uses UTF-8 encoding, whereas Java natively uses
|
SQLite internally uses UTF-8 encoding, whereas Java natively uses
|
||||||
UTF-16. Java JNI has routines for converting to and from UTF-8, _but_
|
UTF-16. Java JNI has routines for converting to and from UTF-8, _but_
|
||||||
Java uses what its docs call "[modified UTF-8][modutf8]." Care must be
|
Java uses what its docs call "[modified UTF-8][modutf8]." Care must be
|
||||||
taken when converting Java strings to UFF-8 to ensure that the proper
|
taken when converting Java strings to UTF-8 to ensure that the proper
|
||||||
conversion is performed. In short,
|
conversion is performed. In short,
|
||||||
`String.getBytes(StandardCharsets.UTF_8)` performs the proper
|
`String.getBytes(StandardCharsets.UTF_8)` performs the proper
|
||||||
conversion in Java, and there is no JNI C API for that conversion
|
conversion in Java, and there is no JNI C API for that conversion
|
||||||
@ -94,7 +94,7 @@ conversion in Java, and there is no JNI C API for that conversion
|
|||||||
[modutf8]: https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html#modified-utf-8
|
[modutf8]: https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html#modified-utf-8
|
||||||
|
|
||||||
|
|
||||||
Unweildy Constructs are Re-mapped
|
Unwieldy Constructs are Re-mapped
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
Some constructs, when modelled 1-to-1 from C to Java, are unduly
|
Some constructs, when modelled 1-to-1 from C to Java, are unduly
|
||||||
@ -186,7 +186,7 @@ Noting that:
|
|||||||
The [`sqlite3_create_function()`](https://sqlite.org/c3ref/create_function.html)
|
The [`sqlite3_create_function()`](https://sqlite.org/c3ref/create_function.html)
|
||||||
family of APIs make heavy use of function pointers to provide
|
family of APIs make heavy use of function pointers to provide
|
||||||
client-defined callbacks, necessitating interface changes in the JNI
|
client-defined callbacks, necessitating interface changes in the JNI
|
||||||
binding. The Jav API has only one core function-registration function:
|
binding. The Java API has only one core function-registration function:
|
||||||
|
|
||||||
```
|
```
|
||||||
int sqlite3_create_function(sqlite3 db, String funcName, int nArgs,
|
int sqlite3_create_function(sqlite3 db, String funcName, int nArgs,
|
||||||
|
14
manifest
14
manifest
@ -1,5 +1,5 @@
|
|||||||
C Minor\sjava\scleanups\srecommended\sby\sa\smodern\sIDE.
|
C Fix\sminor\stypos\sin\sthe\sJNI\sREADME.md\sfile.
|
||||||
D 2023-07-28T10:37:17.675
|
D 2023-07-28T15:58:09.824
|
||||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||||
@ -231,7 +231,7 @@ F ext/icu/README.txt 7ab7ced8ae78e3a645b57e78570ff589d4c672b71370f5aa9e1cd7024f4
|
|||||||
F ext/icu/icu.c c074519b46baa484bb5396c7e01e051034da8884bad1a1cb7f09bbe6be3f0282
|
F ext/icu/icu.c c074519b46baa484bb5396c7e01e051034da8884bad1a1cb7f09bbe6be3f0282
|
||||||
F ext/icu/sqliteicu.h fa373836ed5a1ee7478bdf8a1650689294e41d0c89c1daab26e9ae78a32075a8
|
F ext/icu/sqliteicu.h fa373836ed5a1ee7478bdf8a1650689294e41d0c89c1daab26e9ae78a32075a8
|
||||||
F ext/jni/GNUmakefile 56a014dbff9516774d895ec1ae9df0ed442765b556f79a0fc0b5bc438217200d
|
F ext/jni/GNUmakefile 56a014dbff9516774d895ec1ae9df0ed442765b556f79a0fc0b5bc438217200d
|
||||||
F ext/jni/README.md 042762dbf047667783a5bd0aec303535140f302debfbd259c612edf856661623
|
F ext/jni/README.md ad1f948f0681951e516c667a68f4c195019100b271470fa8728e7c439b53bb84
|
||||||
F ext/jni/src/c/sqlite3-jni.c 9d0d58f3633bd8f467f893f45548873ed2c5451c673b0782b3cc6bfa92327b10
|
F ext/jni/src/c/sqlite3-jni.c 9d0d58f3633bd8f467f893f45548873ed2c5451c673b0782b3cc6bfa92327b10
|
||||||
F ext/jni/src/c/sqlite3-jni.h c9bb150a38dce09cc2794d5aac8fa097288d9946fbb15250fd0a23c31957f506
|
F ext/jni/src/c/sqlite3-jni.h c9bb150a38dce09cc2794d5aac8fa097288d9946fbb15250fd0a23c31957f506
|
||||||
F ext/jni/src/org/sqlite/jni/BusyHandler.java 1b1d3e5c86cd796a0580c81b6af6550ad943baa25e47ada0dcca3aff3ebe978c
|
F ext/jni/src/org/sqlite/jni/BusyHandler.java 1b1d3e5c86cd796a0580c81b6af6550ad943baa25e47ada0dcca3aff3ebe978c
|
||||||
@ -2067,8 +2067,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
|||||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||||
P 7ac8c66a6b62d6bb345e8b9957a26de463019ae7d30ff442f19482c3a6827fc7
|
P f92a9bbabebc33a771835e259b04a57d07add1eacf3d9aec5fddf929ce8a3022
|
||||||
R e8f387c4dfdd92056cc99f13354e3b0d
|
R deb225722300c546330ebf788b8e9af6
|
||||||
U stephan
|
U drh
|
||||||
Z f4a979401c828d3aa03901d37feaa60f
|
Z 08cfed6172a4eae5ba9e30ba4a2a4eaf
|
||||||
# Remove this line to create a well-formed Fossil manifest.
|
# Remove this line to create a well-formed Fossil manifest.
|
||||||
|
@ -1 +1 @@
|
|||||||
f92a9bbabebc33a771835e259b04a57d07add1eacf3d9aec5fddf929ce8a3022
|
e21cf2e8f13465dbff33f9c21580752c1d8c077d6a253f56f04dab0d47eb99b8
|
Loading…
Reference in New Issue
Block a user