summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-12 14:57:21 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-12 14:57:21 (GMT)
commit8e5e4461a8a65cf13f593c3a30b67f3ebb964c75 (patch)
tree9e51a5b6da0f1cced77557cc41e857d3aa850d7a /Include
parentbb301c53ed5a8110b1a0758e6d2ad0956ee804c5 (diff)
downloadcpython-8e5e4461a8a65cf13f593c3a30b67f3ebb964c75.zip
cpython-8e5e4461a8a65cf13f593c3a30b67f3ebb964c75.tar.gz
cpython-8e5e4461a8a65cf13f593c3a30b67f3ebb964c75.tar.bz2
Added prototype for various finalizers.
Diffstat (limited to 'Include')
-rw-r--r--Include/pythonrun.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 1f8093e..cbfd466 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