summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-22 04:20:13 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-22 04:20:13 (GMT)
commite3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901 (patch)
treeceeb0dfad333ecff0d9289e4fb9cc7f0b879505c /Include/pythonrun.h
parent779133c70791aa46f98e22854dcbdd2b47d3a60c (diff)
downloadcpython-e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901.zip
cpython-e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901.tar.gz
cpython-e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901.tar.bz2
Added new Py_IsInitalized() API function to test the 'initialized' flag.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h1
1 files changed, 1 insertions, 0 deletions
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 @@ char *Py_GetProgramName Py_PROTO((void));
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 *));