Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).

This commit is contained in:
Jack Jansen 2000-08-07 21:00:42 +00:00
parent 7898c3e685
commit 275abb3f1b
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ DL_IMPORT(void) PyOS_FiniInterrupts(void);
DL_IMPORT(char *) PyOS_Readline(char *); DL_IMPORT(char *) PyOS_Readline(char *);
extern DL_IMPORT(int) (*PyOS_InputHook)(void); extern DL_IMPORT(int) (*PyOS_InputHook)(void);
extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(char *); 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 #ifdef __cplusplus
} }