Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57d8e3f

Browse files
committed
Added declarations for Py_{Set,Get}ProgramName() and a bunch of other
Py_Get*() functions.
1 parent 5617f32 commit 57d8e3f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Include/pythonrun.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ PERFORMANCE OF THIS SOFTWARE.
3737

3838
/* Interfaces to parse and execute pieces of python code */
3939

40+
void Py_SetProgramName Py_PROTO((char *));
41+
char *Py_GetProgramName Py_PROTO((void));
42+
43+
void Py_Setup Py_PROTO((void));
4044
void Py_Initialize Py_PROTO((void));
4145

4246
int PyRun_AnyFile Py_PROTO((FILE *, char *));
@@ -67,6 +71,19 @@ void PyBuiltin_Init Py_PROTO((void));
6771

6872
int Py_FdIsInteractive Py_PROTO((FILE *, char *));
6973

74+
/* In getpath.c */
75+
char *Py_GetProgramFullPath Py_PROTO((void));
76+
char *Py_GetPrefix Py_PROTO((void));
77+
char *Py_GetExecPrefix Py_PROTO((void));
78+
char *Py_GetPath Py_PROTO((void));
79+
80+
/* In their own files */
81+
const char *Py_GetVersion Py_PROTO((void));
82+
const char *Py_GetPlatform Py_PROTO((void));
83+
const char *Py_GetCopyright Py_PROTO((void));
84+
const char *Py_GetCompiler Py_PROTO((void));
85+
const char *Py_GetBuildInfo Py_PROTO((void));
86+
7087
#ifdef __cplusplus
7188
}
7289
#endif

0 commit comments

Comments
 (0)