Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1182:a9b47162788d Date: 2013-03-04 15:40 +0100 http://bitbucket.org/cffi/cffi/changeset/a9b47162788d/
Log: merge heads diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -937,7 +937,9 @@ **pointer** to such a struct is fine). If you pass a struct (not a **pointer** to a struct), the struct type cannot have been declared with "``...;``" and completed with ``verify()``; you need to declare it -completely in ``cdef()``. +completely in ``cdef()``. You can work around these limitations by +writing a C function with a simpler signature in the code passed to +``ffi.verify()``, which calls the real C function. Aside from these limitations, functions and callbacks can return structs. _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit