[pypy-commit] cffi default: Document bool() on pointers.
arigo
noreply at buildbot.pypy.org
Fri Nov 30 23:21:18 CET 2012
Author: Armin Rigo <arigo at tunes.org>
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 | | ``[]``, |
More information about the pypy-commit
mailing list