Kaydet (Commit) 8e5e4461 authored tarafından Guido van Rossum's avatar Guido van Rossum

Added prototype for various finalizers.

üst bb301c53
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment