Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r374:c79d5b0fc99b Date: 2012-06-15 20:39 +0200 http://bitbucket.org/cffi/cffi/changeset/c79d5b0fc99b/
Log: Clarify diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@ -467,7 +467,7 @@ loading_cpy_variable = loaded_noop def loaded_cpy_variable(self, tp, name, module, library): - if isinstance(tp, model.ArrayType): # a[5] is "constant" in the + if isinstance(tp, model.ArrayType): # int a[5] is "constant" in the return # sense that "a=..." is forbidden # remove ptr=<cdata 'int *'> from the library instance, and replace # it by a property on the class, which reads/writes into ptr[0]. _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit