mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
Leave the actual #define in for API compatibility.
This commit is contained in:
parent
bf680266da
commit
334fb8985b
11 changed files with 44 additions and 63 deletions
|
|
@ -633,7 +633,7 @@ PyErr_SetInterrupt(void)
|
|||
{
|
||||
is_tripped++;
|
||||
Handlers[SIGINT].tripped = 1;
|
||||
Py_AddPendingCall((int (*)(ANY *))PyErr_CheckSignals, NULL);
|
||||
Py_AddPendingCall((int (*)(void *))PyErr_CheckSignals, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue