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