diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-09-01 00:01:58 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-09-01 00:01:58 (GMT) |
commit | 51de6906be81dda5ff7af6cf65691b76afd42ec7 (patch) | |
tree | 0dd3b5c190c5a04e839c74cec4563eeee3dceec1 /Include/ceval.h | |
parent | 9a2d9d7f04f2ed08574c670bb5ee8ead2a4048ce (diff) | |
download | cpython-51de6906be81dda5ff7af6cf65691b76afd42ec7.zip cpython-51de6906be81dda5ff7af6cf65691b76afd42ec7.tar.gz cpython-51de6906be81dda5ff7af6cf65691b76afd42ec7.tar.bz2 |
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).
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 094ebb1..b20d775 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -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. |