Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
57d8e3f1
Commit
57d8e3f1
authored
Jul 19, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added declarations for Py_{Set,Get}ProgramName() and a bunch of other
Py_Get*() functions.
parent
5617f32c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Include/pythonrun.h
Include/pythonrun.h
+17
-0
No files found.
Include/pythonrun.h
View file @
57d8e3f1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment