Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r2654:0e5d809db377
Date: 2016-03-29 20:08 +0200
http://bitbucket.org/cffi/cffi/changeset/0e5d809db377/

Log:    Document ffi.list_types()

diff --git a/doc/source/using.rst b/doc/source/using.rst
--- a/doc/source/using.rst
+++ b/doc/source/using.rst
@@ -1228,6 +1228,11 @@
 
 .. __: 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
 
diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -3,6 +3,12 @@
 ======================
 
 
+v1.6
+====
+
+* ffi.list_types()
+
+
 v1.5.2
 ======
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to