Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3612da6 commit ca83233Copy full SHA for ca83233
1 file changed
Modules/_ctypes/callproc.c
@@ -1078,10 +1078,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
1078
args[0].ffi_type = &ffi_type_pointer;
1079
args[0].value.p = pIunk;
1080
pa = &args[1];
1081
- } else {
+ } else
1082
#endif
1083
pa = &args[0];
1084
- }
1085
1086
/* Convert the arguments */
1087
for (i = 0; i < n; ++i, ++pa) {
@@ -1174,10 +1173,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
1174
1173
retval = PyErr_SetFromWindowsErr(*(int *)resbuf);
1175
else
1176
retval = PyLong_FromLong(*(int *)resbuf);
1177
1178
1179
retval = GetResult(restype, resbuf, checker);
1180
1181
cleanup:
1182
for (i = 0; i < argcount; ++i)
1183
Py_XDECREF(args[i].keep);
0 commit comments