Author: Armin Rigo <[email protected]> Branch: extradoc Changeset: r5578:5f72fa7e28b4 Date: 2016-01-02 19:41 +0100 http://bitbucket.org/pypy/extradoc/changeset/5f72fa7e28b4/
Log: tweaks diff --git a/blog/draft/cffi-embedding.rst b/blog/draft/cffi-embedding.rst --- a/blog/draft/cffi-embedding.rst +++ b/blog/draft/cffi-embedding.rst @@ -16,7 +16,7 @@ Moreover, this approach is specific to CPython (2.x or 3.x, which you can do in a similar way). It does not work on PyPy, which has its own -smaller `embedding API`_. +smaller but very different `embedding API`_. The new-and-coming thing about CFFI, meant as replacement of the above solutions, is direct embedding support---and it does that with no @@ -39,9 +39,11 @@ any program that supports them, just by exporting the API expected for such plugins. -This is still being finalized, but please try it out. (You can also -see `embedding.py`_ directly online for a quick glance.) These are -the instructions on Linux with CPython 2.7:: +This is still being finalized, but please try it out. (You can also see +`embedding.py`_ directly online for a quick glance.) These are the +instructions on Linux with CPython 2.7 (CPython 3.x and non-Linux +platforms are still a work in progress right now, but this should be +quickly fixed): * get the branch ``static-callback-embedding`` of CFFI:: @@ -75,9 +77,6 @@ ``cffi-static-callback-embedding`` branch of PyPy, which you must first translate from sources. -CPython 3.x and non-Linux platforms are still a work in progress right -now, but this should be quickly fixed. - Note that CPython/PyPy is automatically initialized (using locks in case of multi-threading) the first time any of the ``extern "Python"`` functions is called from the C program. At that time, the custom _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
