gh-111178: Generate correct signature for most self converters (#128447)

This commit is contained in:
Erlend E. Aasland 2025-01-20 12:40:18 +01:00 committed by GitHub
parent 4d0a6595a0
commit 537296cdcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 1627 additions and 1631 deletions

View file

@ -21,7 +21,7 @@ static PyObject *
_winapi_Overlapped_GetOverlappedResult_impl(OverlappedObject *self, int wait);
static PyObject *
_winapi_Overlapped_GetOverlappedResult(OverlappedObject *self, PyObject *arg)
_winapi_Overlapped_GetOverlappedResult(PyObject *self, PyObject *arg)
{
PyObject *return_value = NULL;
int wait;
@ -30,7 +30,7 @@ _winapi_Overlapped_GetOverlappedResult(OverlappedObject *self, PyObject *arg)
if (wait < 0) {
goto exit;
}
return_value = _winapi_Overlapped_GetOverlappedResult_impl(self, wait);
return_value = _winapi_Overlapped_GetOverlappedResult_impl((OverlappedObject *)self, wait);
exit:
return return_value;
@ -48,9 +48,9 @@ static PyObject *
_winapi_Overlapped_getbuffer_impl(OverlappedObject *self);
static PyObject *
_winapi_Overlapped_getbuffer(OverlappedObject *self, PyObject *Py_UNUSED(ignored))
_winapi_Overlapped_getbuffer(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return _winapi_Overlapped_getbuffer_impl(self);
return _winapi_Overlapped_getbuffer_impl((OverlappedObject *)self);
}
PyDoc_STRVAR(_winapi_Overlapped_cancel__doc__,
@ -65,9 +65,9 @@ static PyObject *
_winapi_Overlapped_cancel_impl(OverlappedObject *self);
static PyObject *
_winapi_Overlapped_cancel(OverlappedObject *self, PyObject *Py_UNUSED(ignored))
_winapi_Overlapped_cancel(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return _winapi_Overlapped_cancel_impl(self);
return _winapi_Overlapped_cancel_impl((OverlappedObject *)self);
}
PyDoc_STRVAR(_winapi_CloseHandle__doc__,
@ -2127,4 +2127,4 @@ exit:
return return_value;
}
/*[clinic end generated code: output=b2a178bde6868e88 input=a9049054013a1b77]*/
/*[clinic end generated code: output=06b56212b2186250 input=a9049054013a1b77]*/