Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1036:a536488474d4
Date: 2012-11-10 16:24 +0100
http://bitbucket.org/cffi/cffi/changeset/a536488474d4/

Log:    Write explicitly that the "..." in "typedef ... foo_t" is not to
        declare say integer types.

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -519,7 +519,9 @@
    works with "``typedef ... *foo_p;``" which declares the pointer type
    ``foo_p`` without giving a name to the opaque type itself.  Note that
    such an opaque struct has no known size, which prevents some operations
-   from working (mostly like in C).  In some cases you need to say that
+   from working (mostly like in C).  *You cannot use this syntax to
+   declare a specific type, like an integer type!  It declares opaque
+   types only.*  In some cases you need to say that
    ``foo_t`` is not opaque, but you just don't know any field in it; then
    you would use "``typedef struct { ...; } foo_t;``".
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to