Author: Armin Rigo <[email protected]> Branch: Changeset: r768:3c89c55a0292 Date: 2012-08-04 16:16 +0200 http://bitbucket.org/cffi/cffi/changeset/3c89c55a0292/
Log: ffi.string() is "New in version 0.3." diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -839,7 +839,9 @@ declare and call the ``GetLastError()`` function as usual. ``ffi.string(cdata, [maxlen])``: return a Python string (or unicode -string) from the 'cdata'. +string) from the 'cdata'. *New in version 0.3.* + +.. "versionadded:: 0.3" --- inlined in the previous paragraph - If 'cdata' is a pointer or array of characters or bytes, returns the null-terminated string. The returned string extends until the first _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
