blob: 36aa90353fd0188bc68af4b422f77a5561f22b12 [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
3#include <windows.h>
Guido van Rossum67ab6721998-08-08 19:58:59 +00004#include "Python.h"
Guido van Rossumd666eae1997-12-10 05:50:18 +00005
6extern int Py_Main();
7
8int WINAPI WinMain(
9 HINSTANCE hInstance, // handle to current instance
10 HINSTANCE hPrevInstance, // handle to previous instance
11 LPSTR lpCmdLine, // pointer to command line
12 int nCmdShow // show state of window
13)
14{
15 return Py_Main(__argc, __argv);
16}