blob: 78e48f800c950530e36d3712d9e2e89673f23562 [file] [log] [blame]
Guido van Rossum4c04be61997-07-19 19:25:33 +00001/* Minimal main program -- everything is loaded from the library */
2
Guido van Rossumbe10c201998-08-08 20:01:22 +00003#include "Python.h"
Tim Peters4643bd92002-12-28 21:56:08 +00004
Martin v. Löwis790465f2008-04-05 20:41:37 +00005#ifdef MS_WINDOWS
6int
7wmain(int argc, wchar_t **argv)
8{
Antoine Pitrouf95a1b32010-05-09 15:52:27 +00009 return Py_Main(argc, argv);
Martin v. Löwis790465f2008-04-05 20:41:37 +000010}
11#else
Guido van Rossum7c141031997-08-15 02:52:08 +000012int
Fredrik Lundhfaa209d62000-07-09 20:35:15 +000013main(int argc, char **argv)
Guido van Rossum4c04be61997-07-19 19:25:33 +000014{
Victor Stinner94540602017-12-16 04:54:22 +010015 return _Py_UnixMain(argc, argv);
Guido van Rossum4c04be61997-07-19 19:25:33 +000016}
Martin v. Löwis790465f2008-04-05 20:41:37 +000017#endif