cpython/Programs/python.c

18 lines
266 B
C
Raw Normal View History

/* Minimal main program -- everything is loaded from the library */
1998-08-08 17:01:22 -03:00
#include "Python.h"
#ifdef MS_WINDOWS
int
wmain(int argc, wchar_t **argv)
{
return Py_Main(argc, argv);
}
#else
1997-08-14 23:52:08 -03:00
int
main(int argc, char **argv)
{
return _Py_UnixMain(argc, argv);
}
#endif