diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-07 21:00:42 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-07 21:00:42 +0000 |
| commit | 12b3b503f75108b496a3d335d338ccad4e15f6c9 (patch) | |
| tree | 6778748eb9f043316dbbb4ef4a89cac2e1c46292 /Include/pythonrun.h | |
| parent | 2be0a3e756db42c44a34b78018e3aa47f2815bc2 (diff) | |
| download | cpython-12b3b503f75108b496a3d335d338ccad4e15f6c9.tar.gz | |
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
Diffstat (limited to 'Include/pythonrun.h')
| -rw-r--r-- | Include/pythonrun.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 22751afd16..c217570dcf 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -87,6 +87,9 @@ DL_IMPORT(void) PyOS_FiniInterrupts(void); 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 } |
