commit | e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 22 04:20:13 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 22 04:20:13 1997 +0000 |
tree | ceeb0dfad333ecff0d9289e4fb9cc7f0b879505c | |
parent | 779133c70791aa46f98e22854dcbdd2b47d3a60c [diff] |
Added new Py_IsInitalized() API function to test the 'initialized' flag.
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 09d3b57..7d4f056 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h
@@ -42,6 +42,7 @@ void Py_Initialize Py_PROTO((void)); void Py_Finalize Py_PROTO((void)); +int Py_IsInitialized Py_PROTO((void)); PyThreadState *Py_NewInterpreter Py_PROTO((void)); void Py_EndInterpreter Py_PROTO((PyThreadState *));