[pypy-commit] cffi default: Clarify
arigo
noreply at buildbot.pypy.org
Fri Jun 15 20:40:07 CEST 2012
Author: Armin Rigo <arigo at 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].
More information about the pypy-commit
mailing list