Author: Armin Rigo <[email protected]> Branch: Changeset: r3007:95bd16daf438 Date: 2017-09-01 09:11 +0200 http://bitbucket.org/cffi/cffi/changeset/95bd16daf438/
Log: Add note here about __restrict__ diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst --- a/doc/source/cdef.rst +++ b/doc/source/cdef.rst @@ -668,6 +668,10 @@ supported at all (declare and use it as if it were an array of two ``long double``, and write wrapper functions in C with set_source()). +* ``__restrict__`` or ``__restrict`` are extensions of, respectively, + GCC and MSVC. They are not recognized. But ``restrict`` is a C + keyword and is accepted (and ignored). + Note that declarations like ``int field[];`` in structures are interpreted as variable-length structures. Declarations like ``int field[...];`` on the other hand are arrays whose length is _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
