summaryrefslogtreecommitdiff
path: root/doc/source/using.rst
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2016-03-29 20:08:39 +0200
committerArmin Rigo <arigo@tunes.org>2016-03-29 20:08:39 +0200
commit92c8178b564346cba7c11331b8d9b6ba254b90eb (patch)
treeaec0c1061920659a3aba997cac7bdd2c1d1051e7 /doc/source/using.rst
parent3f002c2ee3003c8ae3872a233ba243f49f4355d6 (diff)
downloadcffi-92c8178b564346cba7c11331b8d9b6ba254b90eb.tar.gz
Document ffi.list_types()
Diffstat (limited to 'doc/source/using.rst')
-rw-r--r--doc/source/using.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/using.rst b/doc/source/using.rst
index 1dfa612..c536636 100644
--- a/doc/source/using.rst
+++ b/doc/source/using.rst
@@ -1228,6 +1228,11 @@ example::
.. __: https://bitbucket.org/cffi/cffi/issues/233/
+**ffi.list_types()**: builds and returns a list of all user type names
+known in this FFI instance. The list contains typedef names (sorted in
+alphabetical order), followed by the 'struct xxx' (sorted) and finally
+the 'union xxx' (sorted as well). *New in version 1.6.*
+
.. _`Preparing and Distributing modules`: cdef.html#loading-libraries