Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 24471:f66b3a3509c7 legacy-trunk
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
| author | Mark Hammond <mhammond@skippinet.com.au> |
|---|---|
| date | Fri, 02 Aug 2002 02:27:13 +0000 |
| parents | 36e2fd3f08f7 |
| children | c1eb668525e1 |
line wrap: on
line diff
--- a/Include/pythonrun.h Fri Aug 02 02:19:46 2002 +0000 +++ b/Include/pythonrun.h Fri Aug 02 02:27:13 2002 +0000 @@ -78,6 +78,9 @@ 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);
