diff Include/pythonrun.h @ 5862:4dbb4ec44d15 legacy-trunk

Added declarations for Py_{Set,Get}ProgramName() and a bunch of other Py_Get*() functions.
author Guido van Rossum <guido@python.org>
date Sat, 19 Jul 1997 19:50:52 +0000
parents 21b871325c85
children 5da18e002b1a
line wrap: on
line diff
--- a/Include/pythonrun.h	Sat Jul 19 19:49:11 1997 +0000
+++ b/Include/pythonrun.h	Sat Jul 19 19:50:52 1997 +0000
@@ -37,6 +37,10 @@
 
 /* Interfaces to parse and execute pieces of python code */
 
+void Py_SetProgramName Py_PROTO((char *));
+char *Py_GetProgramName Py_PROTO((void));
+
+void Py_Setup Py_PROTO((void));
 void Py_Initialize Py_PROTO((void));
 
 int PyRun_AnyFile Py_PROTO((FILE *, char *));
@@ -67,6 +71,19 @@
 
 int Py_FdIsInteractive Py_PROTO((FILE *, char *));
 
+/* In getpath.c */
+char *Py_GetProgramFullPath Py_PROTO((void));
+char *Py_GetPrefix Py_PROTO((void));
+char *Py_GetExecPrefix Py_PROTO((void));
+char *Py_GetPath Py_PROTO((void));
+
+/* In their own files */
+const char *Py_GetVersion Py_PROTO((void));
+const char *Py_GetPlatform Py_PROTO((void));
+const char *Py_GetCopyright Py_PROTO((void));
+const char *Py_GetCompiler Py_PROTO((void));
+const char *Py_GetBuildInfo Py_PROTO((void));
+
 #ifdef __cplusplus
 }
 #endif