[pypy-commit] cffi win32-stdcall: fix
arigo
noreply at buildbot.pypy.org
Tue Oct 6 13:14:49 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: win32-stdcall
Changeset: r2320:8ed6cf0d1c90
Date: 2015-10-06 13:15 +0200
http://bitbucket.org/cffi/cffi/changeset/8ed6cf0d1c90/
Log: fix
diff --git a/c/realize_c_type.c b/c/realize_c_type.c
--- a/c/realize_c_type.c
+++ b/c/realize_c_type.c
@@ -566,11 +566,13 @@
case 0:
abi = FFI_DEFAULT_ABI;
break;
+ case 2:
#if defined(MS_WIN32) && !defined(_WIN64)
- case 2:
abi = FFI_STDCALL;
+#else
+ abi = FFI_DEFAULT_ABI;
+#endif
break;
-#endif
default:
PyErr_Format(FFIError, "abi number %d not supported", abi);
Py_DECREF(y);
More information about the pypy-commit
mailing list