Author: Armin Rigo <[email protected]> Branch: Changeset: r863:6b188ac30e6f Date: 2012-08-19 13:07 +0200 http://bitbucket.org/cffi/cffi/changeset/6b188ac30e6f/
Log: #include <Python.h> is bogus. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -496,6 +496,12 @@ equivalent on this platform (e.g. using ``long`` instead of ``long long`` or vice-versa on 64-bit Linux). +Note that ``verify()`` is meant to call C libraries that are *not* using +``#include <Python.h>``. The C functions are called without the GIL, +and afterwards we don't check if they set a Python exception, for +example. You may work around it, but mixing CFFI with ``Python.h`` is +not recommended. + Working with pointers, structures and arrays -------------------------------------------- _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
