[pypy-commit] cffi default: Mention this is C99 syntax.

arigo noreply at buildbot.pypy.org
Wed Jun 27 15:29:07 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
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


More information about the pypy-commit mailing list