summaryrefslogtreecommitdiff
path: root/doc/source/using.rst
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-08-31 09:16:13 +0200
committerArmin Rigo <arigo@tunes.org>2017-08-31 09:16:13 +0200
commitc98e80c3ec2bbd09815b0aa45d6a5687b65ece7e (patch)
tree85523f175e531d2452c21ffab21a58d0827cee7e /doc/source/using.rst
parentc4fa8373cc466474a44d9525aaac0e8a3f137ef0 (diff)
downloadcffi-c98e80c3ec2bbd09815b0aa45d6a5687b65ece7e.tar.gz
Expand the docs about wchar_t/char16_t/char32_t
Diffstat (limited to 'doc/source/using.rst')
-rw-r--r--doc/source/using.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/using.rst b/doc/source/using.rst
index 6783b3a..fc4ad5f 100644
--- a/doc/source/using.rst
+++ b/doc/source/using.rst
@@ -206,6 +206,9 @@ Similarly, arrays of wchar_t or char16_t or char32_t can be initialized
from a unicode string,
and calling ``ffi.string()`` on the cdata object returns the current unicode
string stored in the source array (adding surrogates if necessary).
+See the `Unicode character types`__ section for more details.
+
+__: ref.html#unichar
Note that unlike Python lists or tuples, but like C, you *cannot* index in
a C array from the end using negative numbers.