Added prototype for various finalizers.

This commit is contained in:
Guido van Rossum 1997-08-12 14:57:21 +00:00
parent bb301c53ed
commit 8e5e4461a8
1 changed files with 13 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void Py_SetProgramName Py_PROTO((char *));
char *Py_GetProgramName Py_PROTO((void));
void Py_Initialize Py_PROTO((void));
void Py_Finalize Py_PROTO((void));
PyThreadState *Py_NewInterpreter Py_PROTO((void));
void Py_EndInterpreter Py_PROTO((PyThreadState *));
@ -86,6 +87,18 @@ PyObject *_PyBuiltin_Init Py_PROTO((void));
PyObject *_PySys_Init Py_PROTO((void));
void _PyImport_Init Py_PROTO((void));
/* Various internal finalizers */
void _PyImport_Fini Py_PROTO((void));
void _PyBuiltin_Fini Py_PROTO((void));
void PyMethod_Fini Py_PROTO((void));
void PyFrame_Fini Py_PROTO((void));
void PyCFunction_Fini Py_PROTO((void));
void PyTuple_Fini Py_PROTO((void));
void PyString_Fini Py_PROTO((void));
void PyInt_Fini Py_PROTO((void));
void PyFloat_Fini Py_PROTO((void));
void PyOS_FiniInterrupts Py_PROTO((void));
#ifdef __cplusplus
}
#endif