Author: Romain Guillebert <romain...@gmail.com>
Branch: 
Changeset: r1590:36d8fcb90561
Date: 2014-12-17 17:50 +0100
http://bitbucket.org/cffi/cffi/changeset/36d8fcb90561/

Log:    Add documentation for the flags argument of verify

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -500,7 +500,7 @@
 The verification step
 ---------------------
 
-``ffi.verify(source, tmpdir=.., ext_package=.., modulename=.., **kwargs)``:
+``ffi.verify(source, tmpdir=.., ext_package=.., modulename=.., flags=.., 
**kwargs)``:
 verifies that the current ffi signatures
 compile on this machine, and return a dynamic library object.  The
 dynamic library can be used to call functions and access global
@@ -667,6 +667,10 @@
    check.  Be sure to have other means of clearing the ``tmpdir``
    whenever you change your sources.
 
+.. versionadded:: 0.9
+   The optional ``flags`` argument has been added, see ``man dlopen`` (ignored
+   on Windows).  It defaults to ``ffi.RTLD_NOW``.
+
 This function returns a "library" object that gets closed when it goes
 out of scope.  Make sure you keep the library object around as long as
 needed.
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to