Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 13887:c0c17347da5b legacy-trunk
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 07 Aug 2000 21:00:42 +0000 |
| parents | 091ca6b9348f |
| children | 9f9f3280dc68 |
line wrap: on
line diff
--- a/Include/pythonrun.h Mon Aug 07 20:59:04 2000 +0000 +++ b/Include/pythonrun.h Mon Aug 07 21:00:42 2000 +0000 @@ -87,6 +87,9 @@ DL_IMPORT(char *) PyOS_Readline(char *); extern DL_IMPORT(int) (*PyOS_InputHook)(void); extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(char *); +#ifdef USE_STACKCHECK +int PyOS_CheckStack(void); /* Check that we aren't overflowing our stack */ +#endif #ifdef __cplusplus }
