[pypy-commit] cffi default: Calling convention on Windows.
arigo
noreply at buildbot.pypy.org
Sat Jun 16 11:22:44 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r390:b425d9cea19a
Date: 2012-06-16 11:22 +0200
http://bitbucket.org/cffi/cffi/changeset/b425d9cea19a/
Log: Calling convention on Windows.
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -486,6 +486,10 @@
Note that callbacks of a variadic function type are not supported.
+Windows: you can't yet specify the calling convention of callbacks.
+(For regular calls, the correct calling convention should be
+automatically inferred by the C backend.)
+
Be careful when writing the Python callback function: if it returns an
object of the wrong type, or more generally raises an exception, then
the exception cannot be propagated. Instead, it is printed to stderr
More information about the pypy-commit
mailing list