From 8e5e4461a8a65cf13f593c3a30b67f3ebb964c75 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 12 Aug 1997 14:57:21 +0000 Subject: [PATCH] Added prototype for various finalizers. --- Include/pythonrun.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 1f8093ea578..cbfd4668b94 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -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