Author: Armin Rigo <[email protected]> Branch: Changeset: r2428:040da4f57982 Date: 2015-11-23 16:31 +0100 http://bitbucket.org/cffi/cffi/changeset/040da4f57982/
Log: ffi.addressof(lib, "name") does not work with ffi.verify() diff --git a/doc/source/using.rst b/doc/source/using.rst --- a/doc/source/using.rst +++ b/doc/source/using.rst @@ -365,8 +365,9 @@ works on them. To get a cdata containing a regular function pointer, use ``ffi.addressof(lib, "name")`` (new in version 1.1). -Before version 1.1, if you really need a cdata pointer to the function, -use the following workaround: +Before version 1.1 (or with the deprecated ``ffi.verify()``), if you +really need a cdata pointer to the function, use the following +workaround: .. code-block:: python _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
