Author: Armin Rigo <[email protected]> Branch: Changeset: r2220:6f057232892d Date: 2015-07-09 17:25 +0200 http://bitbucket.org/cffi/cffi/changeset/6f057232892d/
Log: Tweaks diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst --- a/doc/source/cdef.rst +++ b/doc/source/cdef.rst @@ -231,6 +231,8 @@ inconsistently, not defined by default.) +.. _loading-libraries: + ffi.dlopen(): loading libraries in ABI mode ------------------------------------------- diff --git a/doc/source/installation.rst b/doc/source/installation.rst --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -53,21 +53,19 @@ * http://pypi.python.org/packages/source/c/cffi/cffi-1.2.0.tar.gz - - Or grab the most current version by following the instructions below. - - MD5: ... - SHA: ... -* Or get it from the `Bitbucket page`_: +* Or grab the most current version from the `Bitbucket page`_: ``hg clone https://bitbucket.org/cffi/cffi`` * ``python setup.py install`` or ``python setup_base.py install`` (should work out of the box on Linux or Windows; see below for `MacOS X`_ or `Windows 64`_.) -* running the tests: ``py.test c/ _cffi1/ testing/`` (if you didn't - install cffi yet, you may need ``python setup_base.py build_ext -f +* running the tests: ``py.test c/ testing/`` (if you didn't + install cffi yet, you need first ``python setup_base.py build_ext -f -i``) .. _`Bitbucket page`: https://bitbucket.org/cffi/cffi diff --git a/doc/source/overview.rst b/doc/source/overview.rst --- a/doc/source/overview.rst +++ b/doc/source/overview.rst @@ -33,8 +33,8 @@ ... """) >>> C = ffi.dlopen(None) # loads the entire C namespace >>> arg = ffi.new("char[]", "world") # equivalent to C code: char arg[] = "world"; - >>> C.printf("hi there, %s!\n", arg) # call printf - hi there, world! + >>> C.printf("hi there, %s.\n", arg) # call printf + hi there, world. 17 # this is the return value >>> _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
