@@ -240,7 +240,7 @@ index 56285b5ff8..f78a152ade 100644
240
240
def three_way_cmp(x, y):
241
241
"""Return -1 if x < y, 0 if x == y and 1 if x > y"""
242
242
diff --git a/Lib/ctypes/test/test_parameters.py b/Lib/ctypes/test/test_parameters.py
243
- index e4c25fd880..811af9dfd6 100644
243
+ index 531894fdec..8b8a86f139 100644
244
244
--- a/Lib/ctypes/test/test_parameters.py
245
245
+++ b/Lib/ctypes/test/test_parameters.py
246
246
@@ -140,7 +140,7 @@
@@ -542,7 +542,7 @@ index a2941f3fe0..83dafd2981 100644
542
542
pt = POINT(15, 25)
543
543
left = c_long.in_dll(dll, 'left')
544
544
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
545
- index 97973bce00..0ed9540719 100644
545
+ index 0c2510e161..6c3c43f11d 100644
546
546
--- a/Lib/ctypes/util.py
547
547
+++ b/Lib/ctypes/util.py
548
548
@@ -67,7 +67,7 @@
@@ -13673,18 +13673,18 @@ index b04ec7b65a..a8b4569c08 100755
13673
13673
+ -I$(srcdir)/Modules/_decimal/libmpdec \
13674
13674
+ -DCONFIG_32=1 -DANSI=1
13675
13675
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
13676
- index 73413531bd..417301541d 100644
13676
+ index 9cbf9801ad..313127b692 100644
13677
13677
--- a/Modules/_ctypes/callproc.c
13678
13678
+++ b/Modules/_ctypes/callproc.c
13679
- @@ -767 ,6 +767 ,7 @@
13679
+ @@ -754 ,6 +754 ,7 @@
13680
13680
ffi_type **atypes,
13681
13681
ffi_type *restype,
13682
13682
void *resmem,
13683
13683
+ int fixedargcount,
13684
13684
int argcount)
13685
13685
{
13686
13686
PyThreadState *_save = NULL; /* For Py_BLOCK_THREADS and Py_UNBLOCK_THREADS */
13687
- @@ -793 ,11 +794 ,12 @@
13687
+ @@ -780 ,11 +781 ,12 @@
13688
13688
if ((flags & FUNCFLAG_CDECL) == 0)
13689
13689
cc = FFI_STDCALL;
13690
13690
#endif
@@ -13702,7 +13702,7 @@ index 73413531bd..417301541d 100644
13702
13702
PyErr_SetString(PyExc_RuntimeError,
13703
13703
"ffi_prep_cif failed");
13704
13704
return -1;
13705
- @@ -1200 ,6 +1202 ,9 @@
13705
+ @@ -1187 ,6 +1189 ,9 @@
13706
13706
13707
13707
if (-1 == _call_function_pointer(flags, pProc, avalues, atypes,
13708
13708
rtype, resbuf,
0 commit comments