From: Jack Jansen Date: Mon, 7 Aug 2000 21:00:42 +0000 (+0000) Subject: Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK). X-Git-Tag: v2.0b1~544 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=275abb3f1b66d891e760c59961e7dac13646e83f;p=thirdparty%2FPython%2Fcpython.git Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK). --- diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 22751afd161d..c217570dcf13 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 }