]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 7 Aug 2000 21:00:42 +0000 (21:00 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 7 Aug 2000 21:00:42 +0000 (21:00 +0000)
Include/pythonrun.h

index 22751afd161dc9535c1ab4631e3d7a1eb194faa4..c217570dcf1306359e95983ba551204851941b33 100644 (file)
@@ -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
 }