1997-07-20 03:25:33 +08:00
|
|
|
/* Minimal main program -- everything is loaded from the library */
|
|
|
|
|
1998-08-09 04:01:22 +08:00
|
|
|
#include "Python.h"
|
2002-12-29 05:56:08 +08:00
|
|
|
|
2008-04-06 04:41:37 +08:00
|
|
|
#ifdef MS_WINDOWS
|
|
|
|
int
|
|
|
|
wmain(int argc, wchar_t **argv)
|
|
|
|
{
|
2018-09-20 05:56:36 +08:00
|
|
|
return Py_Main(argc, argv);
|
2008-04-06 04:41:37 +08:00
|
|
|
}
|
|
|
|
#else
|
1997-08-15 10:52:08 +08:00
|
|
|
int
|
2000-07-10 04:35:15 +08:00
|
|
|
main(int argc, char **argv)
|
1997-07-20 03:25:33 +08:00
|
|
|
{
|
2019-05-27 22:39:22 +08:00
|
|
|
return Py_BytesMain(argc, argv);
|
1997-07-20 03:25:33 +08:00
|
|
|
}
|
2008-04-06 04:41:37 +08:00
|
|
|
#endif
|