From 275abb3f1b66d891e760c59961e7dac13646e83f Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 7 Aug 2000 21:00:42 +0000 Subject: [PATCH] Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK). --- Include/pythonrun.h | 3 +++ 1 file changed, 3 insertions(+) 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 } -- 2.50.1