[pypy-commit] cffi default: Uh, I thought I ran the tests.
arigo
noreply at buildbot.pypy.org
Fri Jun 15 16:43:18 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r367:3a46368020f3
Date: 2012-06-15 16:43 +0200
http://bitbucket.org/cffi/cffi/changeset/3a46368020f3/
Log: Uh, I thought I ran the tests.
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -166,7 +166,7 @@
an array. To get a copy of it in a regular string, call str() on
the result.
"""
- return self._backend.buffer(pointer)
+ return self._backend.buffer(cdata)
def callback(self, cdecl, python_callable):
if not callable(python_callable):
More information about the pypy-commit
mailing list