[pypy-commit] cffi default: Lies, this didn't print a list
arigo
pypy.commits at gmail.com
Sun Apr 24 07:45:28 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2684:684294ee51f8
Date: 2016-04-23 10:39 +0200
http://bitbucket.org/cffi/cffi/changeset/684294ee51f8/
Log: Lies, this didn't print a list
diff --git a/doc/source/using.rst b/doc/source/using.rst
--- a/doc/source/using.rst
+++ b/doc/source/using.rst
@@ -834,7 +834,7 @@
@ffi.callback("int(int, int *)")
def python_callback(how_many, values):
- print values # a list
+ print ffi.unpack(values, how_many)
return 0
lib.python_callback = python_callback
More information about the pypy-commit
mailing list