CFFI 1.3.1 released

10 views
Skip to first unread message

Armin Rigo

unread,
Nov 18, 2015, 11:17:06 AM11/18/15
to pytho...@googlegroups.com
Hi all,

CFFI 1.3.1 was released. This is also the version that will be in the
upcoming PyPy 4.0.1. It contains a few bug fixes:

* The optional typedefs (``bool``, ``FILE`` and all Windows types) were
not always available from out-of-line FFI objects.

* Opaque enums are phased out from the cdefs: they now give a warning,
instead of (possibly wrongly) being assumed equal to ``unsigned int``.
Please report if you get a reasonable use case for them.

* Some parsing details, notably ``volatile`` is passed along like
``const`` and ``restrict``. Also, older versions of pycparser
mis-parse some pointer-to-pointer types like ``char * const *``: the
"const" ends up at the wrong place. Added a workaround.


See: http://cffi.readthedocs.org/en/latest/installation.html


A bientôt,

Armin.
Reply all
Reply to author
Forward
0 new messages