[pypy-commit] pypy default: MACROS is no longer part of the string fed to ffi.cdef, use TYPES instead

mattip pypy.commits at gmail.com
Sat Aug 17 15:04:13 EDT 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r97203:87a095fb0cdf
Date: 2019-08-17 21:47 +0300
http://bitbucket.org/pypy/pypy/changeset/87a095fb0cdf/

Log:	MACROS is no longer part of the string fed to ffi.cdef, use TYPES
	instead

diff --git a/lib_pypy/_cffi_ssl/_cffi_src/openssl/pypy_win32_extra.py b/lib_pypy/_cffi_ssl/_cffi_src/openssl/pypy_win32_extra.py
--- a/lib_pypy/_cffi_ssl/_cffi_src/openssl/pypy_win32_extra.py
+++ b/lib_pypy/_cffi_ssl/_cffi_src/openssl/pypy_win32_extra.py
@@ -68,7 +68,9 @@
 );
 """
 
-MACROS = """
+# cryptography does not use MACROS anymore
+# MACROS = """
+TYPES += """
 #define CERT_STORE_READONLY_FLAG ...
 #define CERT_SYSTEM_STORE_LOCAL_MACHINE ...
 #define CRYPT_E_NOT_FOUND ...


More information about the pypy-commit mailing list