mirror of https://github.com/python/cpython
Fix formatting changes that led to compilation errors
This commit is contained in:
parent
3612da6b2b
commit
ca83233216
|
@ -1078,10 +1078,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
|
||||||
args[0].ffi_type = &ffi_type_pointer;
|
args[0].ffi_type = &ffi_type_pointer;
|
||||||
args[0].value.p = pIunk;
|
args[0].value.p = pIunk;
|
||||||
pa = &args[1];
|
pa = &args[1];
|
||||||
} else {
|
} else
|
||||||
#endif
|
#endif
|
||||||
pa = &args[0];
|
pa = &args[0];
|
||||||
}
|
|
||||||
|
|
||||||
/* Convert the arguments */
|
/* Convert the arguments */
|
||||||
for (i = 0; i < n; ++i, ++pa) {
|
for (i = 0; i < n; ++i, ++pa) {
|
||||||
|
@ -1174,10 +1173,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
|
||||||
retval = PyErr_SetFromWindowsErr(*(int *)resbuf);
|
retval = PyErr_SetFromWindowsErr(*(int *)resbuf);
|
||||||
else
|
else
|
||||||
retval = PyLong_FromLong(*(int *)resbuf);
|
retval = PyLong_FromLong(*(int *)resbuf);
|
||||||
} else {
|
} else
|
||||||
#endif
|
#endif
|
||||||
retval = GetResult(restype, resbuf, checker);
|
retval = GetResult(restype, resbuf, checker);
|
||||||
}
|
|
||||||
cleanup:
|
cleanup:
|
||||||
for (i = 0; i < argcount; ++i)
|
for (i = 0; i < argcount; ++i)
|
||||||
Py_XDECREF(args[i].keep);
|
Py_XDECREF(args[i].keep);
|
||||||
|
|
Loading…
Reference in New Issue