aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Programs/python.c
blob: 84148f7767a7e3c4bc2c4f36c996931e3bbac184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

#ifdef MS_WINDOWS
int
wmain(int argc, wchar_t **argv)
{
    return Py_Main(argc, argv);
}
#else
int
main(int argc, char **argv)
{
    return Py_BytesMain(argc, argv);
}
#endif