1997-07-19 16:25:33 -03:00
|
|
|
/* Minimal main program -- everything is loaded from the library */
|
|
|
|
|
1998-08-08 17:01:22 -03:00
|
|
|
#include "Python.h"
|
2018-11-12 11:53:38 -04:00
|
|
|
#include "pycore_pylifecycle.h"
|
2002-12-28 17:56:08 -04:00
|
|
|
|
2008-04-05 17:41:37 -03:00
|
|
|
#ifdef MS_WINDOWS
|
|
|
|
int
|
|
|
|
wmain(int argc, wchar_t **argv)
|
|
|
|
{
|
2018-09-19 18:56:36 -03:00
|
|
|
return Py_Main(argc, argv);
|
2008-04-05 17:41:37 -03:00
|
|
|
}
|
|
|
|
#else
|
1997-08-14 23:52:08 -03:00
|
|
|
int
|
2000-07-09 17:35:15 -03:00
|
|
|
main(int argc, char **argv)
|
1997-07-19 16:25:33 -03:00
|
|
|
{
|
2017-12-15 23:54:22 -04:00
|
|
|
return _Py_UnixMain(argc, argv);
|
1997-07-19 16:25:33 -03:00
|
|
|
}
|
2008-04-05 17:41:37 -03:00
|
|
|
#endif
|