[pypy-commit] cffi default: An XXX

arigo noreply at buildbot.pypy.org
Thu Jun 28 11:49:02 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r548:7be435b045d5
Date: 2012-06-28 00:24 +0200
http://bitbucket.org/cffi/cffi/changeset/7be435b045d5/

Log:	An XXX

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -2665,6 +2665,8 @@
         Py_ssize_t i, n;
         CFieldObject *cf;
 
+        /* XXX check if the field positions match; if necessary,
+           insert dummy fields */
         n = PyDict_Size(ct->ct_stuff);
         elements = fb_alloc(fb, (n + 1) * sizeof(ffi_type*));
         cf = (CFieldObject *)ct->ct_extra;


More information about the pypy-commit mailing list