mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Supply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler wngs;
un-analize Get's definition ("void" is needed only in declarations, not defns, & is generally considered bad style in the latter).
This commit is contained in:
parent
9a2d9d7f04
commit
51de6906be
2 changed files with 3 additions and 1 deletions
|
@ -43,6 +43,8 @@ DL_IMPORT(int) Py_FlushLine(void);
|
|||
DL_IMPORT(int) Py_AddPendingCall(int (*func)(void *), void *arg);
|
||||
DL_IMPORT(int) Py_MakePendingCalls(void);
|
||||
|
||||
DL_IMPORT(void) Py_SetRecursionLimit(int);
|
||||
DL_IMPORT(int) Py_GetRecursionLimit(void);
|
||||
|
||||
/* Interface for threads.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue