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