Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Side by Side Diff: Include/pythonrun.h

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Include/pyport.h ('k') | Lib/ctypes/test/test_as_parameter.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* Interfaces to parse and execute pieces of python code */ 2 /* Interfaces to parse and execute pieces of python code */
3 3
4 #ifndef Py_PYTHONRUN_H 4 #ifndef Py_PYTHONRUN_H
5 #define Py_PYTHONRUN_H 5 #define Py_PYTHONRUN_H
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ 10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 PyRun_FileExFlags(fp, p, s, g, l, 0, flags) 168 PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
169 #endif 169 #endif
170 170
171 /* In getpath.c */ 171 /* In getpath.c */
172 PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void); 172 PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void);
173 PyAPI_FUNC(wchar_t *) Py_GetPrefix(void); 173 PyAPI_FUNC(wchar_t *) Py_GetPrefix(void);
174 PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void); 174 PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void);
175 PyAPI_FUNC(wchar_t *) Py_GetPath(void); 175 PyAPI_FUNC(wchar_t *) Py_GetPath(void);
176 PyAPI_FUNC(void) Py_SetPath(const wchar_t *); 176 PyAPI_FUNC(void) Py_SetPath(const wchar_t *);
177 #ifdef MS_WINDOWS 177 #ifdef MS_WINDOWS
178 int _Py_CheckPython3(); 178 int _Py_CheckPython3(void);
179 #endif 179 #endif
180 180
181 /* In their own files */ 181 /* In their own files */
182 PyAPI_FUNC(const char *) Py_GetVersion(void); 182 PyAPI_FUNC(const char *) Py_GetVersion(void);
183 PyAPI_FUNC(const char *) Py_GetPlatform(void); 183 PyAPI_FUNC(const char *) Py_GetPlatform(void);
184 PyAPI_FUNC(const char *) Py_GetCopyright(void); 184 PyAPI_FUNC(const char *) Py_GetCopyright(void);
185 PyAPI_FUNC(const char *) Py_GetCompiler(void); 185 PyAPI_FUNC(const char *) Py_GetCompiler(void);
186 PyAPI_FUNC(const char *) Py_GetBuildInfo(void); 186 PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
187 #ifndef Py_LIMITED_API 187 #ifndef Py_LIMITED_API
188 PyAPI_FUNC(const char *) _Py_hgidentifier(void); 188 PyAPI_FUNC(const char *) _Py_hgidentifier(void);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int); 253 PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
254 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t); 254 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
255 255
256 /* Random */ 256 /* Random */
257 PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size); 257 PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size);
258 258
259 #ifdef __cplusplus 259 #ifdef __cplusplus
260 } 260 }
261 #endif 261 #endif
262 #endif /* !Py_PYTHONRUN_H */ 262 #endif /* !Py_PYTHONRUN_H */
OLDNEW
« no previous file with comments | « Include/pyport.h ('k') | Lib/ctypes/test/test_as_parameter.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+