mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
This commit is contained in:
parent
d3c884d4ea
commit
fe51c6d66e
53 changed files with 71 additions and 61 deletions
|
@ -78,6 +78,9 @@ DL_IMPORT(void) Py_Exit(int);
|
|||
|
||||
DL_IMPORT(int) Py_FdIsInteractive(FILE *, char *);
|
||||
|
||||
/* Bootstrap */
|
||||
PyAPI_FUNC(int) Py_Main(int argc, char **argv);
|
||||
|
||||
/* In getpath.c */
|
||||
PyAPI_FUNC(char *) Py_GetProgramFullPath(void);
|
||||
PyAPI_FUNC(char *) Py_GetPrefix(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue