Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r545:82c27daa8c17
Date: 2012-06-27 15:28 +0200
http://bitbucket.org/cffi/cffi/changeset/82c27daa8c17/

Log:    Mention this is C99 syntax.

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -445,7 +445,7 @@
     foo_t v = { 1, 2 };            // C syntax
     v = ffi.new("foo_t", [1, 2])   # CFFI equivalent
 
-    foo_t v = { .y=1, .x=2 };               // C syntax
+    foo_t v = { .y=1, .x=2 };               // C99 syntax
     v = ffi.new("foo_t", {'y': 1, 'x': 2})  # CFFI equivalent
 
 Like C, arrays of chars can also be initialized from a string, in
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to