Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1040:50d41fa30a32 Date: 2012-11-12 18:44 +0100 http://bitbucket.org/cffi/cffi/changeset/50d41fa30a32/
Log: Give another example. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1065,7 +1065,8 @@ can be the name of a variable to declare, or an extra part of the type like ``"*"`` or ``"[5]"``. For example ``ffi.getctype(ffi.typeof(x), "*")`` returns the string representation -of the C type "pointer to the same type than x". +of the C type "pointer to the same type than x"; and +``ffi.getctype("char[80]", "a") == "char a[80]"``. ``ffi.gc(cdata, destructor)``: return a new cdata object that points to the same data. Later, when this new cdata object is garbage-collected, _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit