blob: 7ee1ad69f3e1fcbcac97839f78ff47cf2c8c636c [file] [log] [blame]
Guido van Rossum639ccae1998-08-08 20:00:49 +00001/* Minimal main program -- everything is loaded from the library. */
Guido van Rossumd666eae1997-12-10 05:50:18 +00002
Tim Petersd29abb92001-04-24 05:16:29 +00003#define WIN32_LEAN_AND_MEAN
Guido van Rossumd666eae1997-12-10 05:50:18 +00004#include <windows.h>
Fredrik Lundhddbc1182000-07-08 18:06:41 +00005
Guido van Rossum67ab6721998-08-08 19:58:59 +00006#include "Python.h"
Guido van Rossumd666eae1997-12-10 05:50:18 +00007
Thomas Woutersa5345942000-07-22 23:59:33 +00008extern int Py_Main(int, char **);
Guido van Rossumd666eae1997-12-10 05:50:18 +00009
10int WINAPI WinMain(
Fredrik Lundhddbc1182000-07-08 18:06:41 +000011 HINSTANCE hInstance, /* handle to current instance */
12 HINSTANCE hPrevInstance, /* handle to previous instance */
13 LPSTR lpCmdLine, /* pointer to command line */
14 int nCmdShow /* show state of window */
Guido van Rossumd666eae1997-12-10 05:50:18 +000015)
16{
Fredrik Lundhddbc1182000-07-08 18:06:41 +000017 return Py_Main(__argc, __argv);
Guido van Rossumd666eae1997-12-10 05:50:18 +000018}