diff options
author | Guido van Rossum <guido@python.org> | 1997-07-19 19:50:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-19 19:50:52 (GMT) |
commit | 57d8e3f1c7207926cab62b45be35bc44d33f00da (patch) | |
tree | 1f1b87d4b6b49ec09f07c2916e0303002142d905 /Include | |
parent | 5617f32c5ce14925175567adf5b71d232f8b4194 (diff) | |
download | cpython-57d8e3f1c7207926cab62b45be35bc44d33f00da.zip cpython-57d8e3f1c7207926cab62b45be35bc44d33f00da.tar.gz cpython-57d8e3f1c7207926cab62b45be35bc44d33f00da.tar.bz2 |
Added declarations for Py_{Set,Get}ProgramName() and a bunch of other
Py_Get*() functions.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pythonrun.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 6666778..ae33624 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -37,6 +37,10 @@ PERFORMANCE OF THIS SOFTWARE. /* 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 @@ void PyBuiltin_Init Py_PROTO((void)); 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 |