[pypy-commit] cffi default: ffi.addressof(lib, "name") does not work with ffi.verify()

arigo noreply at buildbot.pypy.org
Mon Nov 23 10:30:48 EST 2015


Author: Armin Rigo <arigo at tunes.org>
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
   


More information about the pypy-commit mailing list