diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-07 21:00:42 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-07 21:00:42 (GMT) |
commit | 275abb3f1b66d891e760c59961e7dac13646e83f (patch) | |
tree | 7d2fa4072a9d62d76b2c7ebfec0271e984b11f95 /Include/pythonrun.h | |
parent | 7898c3e6852565046a9b8b063d35d66777bf5176 (diff) | |
download | cpython-275abb3f1b66d891e760c59961e7dac13646e83f.zip cpython-275abb3f1b66d891e760c59961e7dac13646e83f.tar.gz cpython-275abb3f1b66d891e760c59961e7dac13646e83f.tar.bz2 |
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 22751af..c217570 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 } |