summaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-22 04:20:13 +0000
committerGuido van Rossum <guido@python.org>1997-08-22 04:20:13 +0000
commit6464383d4701d236887cfaa7beab8086a0591f74 (patch)
tree463b26a29b0bb8e51ccc0aa88dbbdc308de3365f /Include/pythonrun.h
parent88604fa97fedd53b074351ad8b5e23f3dfb08fa0 (diff)
downloadcpython-6464383d4701d236887cfaa7beab8086a0591f74.tar.gz
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 09d3b57e8a..7d4f056078 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 *));