Author: Armin Rigo <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to