Skip to content

Commit

Permalink
Added declarations for Py_{Set,Get}ProgramName() and a bunch of other
Browse files Browse the repository at this point in the history
Py_Get*() functions.
  • Loading branch information
gvanrossum committed Jul 19, 1997
1 parent 5617f32 commit 57d8e3f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Include/pythonrun.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *));
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 57d8e3f

Please sign in to comment.