Skip to content

Commit a077bdd

Browse files
akashchampmattip
authored andcommitted
Add changelog entry for #281
1 parent f8f01e1 commit a077bdd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎doc/source/whatsnew.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@ v2.2.0.dev0
1111
(`#265`_).
1212
* The C source generated by ``cffi-gen-src`` and ``ffibuilder.emit_c_code()``
1313
no longer depends on the interpreter running the generator.
14+
* ``cdef()`` now raises a clean ``CDefError`` instead of crashing the whole
15+
process with a fatal error when given an explicit definition of
16+
``struct _IO_FILE``, the name cffi uses internally for the opaque
17+
``FILE`` type. This could happen with an already-preprocessed system
18+
header, which spells out the real struct. (`#281`_).
1419

1520
.. _`#265`: https://github.com/python-cffi/cffi/pull/265
21+
.. _`#281`: https://github.com/python-cffi/cffi/pull/281
1622

1723
v2.1.0
1824
======

0 commit comments

Comments
 (0)