Author: Armin Rigo <[email protected]> Branch: Changeset: r1091:2145beedd1fa Date: 2012-11-30 14:21 -0800 http://bitbucket.org/cffi/cffi/changeset/2145beedd1fa/
Log: Document bool() on pointers. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1224,7 +1224,7 @@ | | float() works | | | +---------------+------------------------+------------------+----------------+ | pointers | another <cdata> with | a <cdata> | ``[]``, ``+``, | -| | a compatible type (i.e.| | ``-`` | +| | a compatible type (i.e.| | ``-``, bool() | | | same type or ``char*`` | | | | | or ``void*``, or as an | | | | | array instead) `(*)` | | | @@ -1233,13 +1233,13 @@ | ``char *`` | any pointer or array | | | | | type | | | +---------------+------------------------+ +----------------+ -| pointers to | same as pointers `(*)` | | ``[]``, | -| structure or | | | ``+``, ``-``, | +| pointers to | same as pointers `(*)` | | ``[]``, ``+``, | +| structure or | | | ``-``, bool(), | | union | | | and read/write | | | | | struct fields | +---------------+------------------------+ +----------------+ -| function | same as pointers | | call `(**)` | -| pointers | | | | +| function | same as pointers | | bool(), | +| pointers | | | call `(**)` | +---------------+------------------------+------------------+----------------+ | arrays | a list or tuple of | a <cdata> | len(), iter(), | | | items | | ``[]``, | _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
