summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-07 21:00:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-07 21:00:42 (GMT)
commit275abb3f1b66d891e760c59961e7dac13646e83f (patch)
tree7d2fa4072a9d62d76b2c7ebfec0271e984b11f95 /Include
parent7898c3e6852565046a9b8b063d35d66777bf5176 (diff)
downloadcpython-275abb3f1b66d891e760c59961e7dac13646e83f.zip
cpython-275abb3f1b66d891e760c59961e7dac13646e83f.tar.gz
cpython-275abb3f1b66d891e760c59961e7dac13646e83f.tar.bz2
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
Diffstat (limited to 'Include')
-rw-r--r--Include/pythonrun.h3
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
}