Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r2159:25dc5648d49e Date: 2015-06-02 21:13 +0200 http://bitbucket.org/cffi/cffi/changeset/25dc5648d49e/
Log: Document that this example is also possible in the out-of-line mode diff --git a/doc/source/overview.rst b/doc/source/overview.rst --- a/doc/source/overview.rst +++ b/doc/source/overview.rst @@ -202,6 +202,13 @@ .. _struct: http://docs.python.org/library/struct.html .. _array: http://docs.python.org/library/array.html +This example also admits an out-of-line equivalent. It is similar to +`Out-of-line example (ABI level, out-of-line)`_ above, but without any +call to ``ffi.dlopen()``. In the main program, you write ``from +_simple_example import ffi`` and then the same content as the in-line +example above starting from the line ``image = ffi.new("pixel_t[]", +800*600)``. + .. _performance: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit